SamRock's Forum Posts

  • Will your Effects work here? Can I have light confined to the walls and produce shadows?

    The normal maps do changes on the light using a texture over other. The normal map no project shadows to other tiles, for that use the Shadow Caster,etc...

    Thanks for the response. Do you have the Shooter example shared in the past? Would love to go though it, will checkout the shadow caster too

  • matriax

    This looks amazing! Love your shooter example with the dynamic shadows.

    I want to make a Isometric game that looks like this:

    Will your Effects work here? Can I have light confined to the walls and produce shadows?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Endless Isometric Scroller — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-fr ... oller-2809

    Presenting the Isometric Scroller game template used to create the very successful and award winning C2 game, "Last of the Survivors".Yes, you heard that right! I have decided to release the complete code to make your own Endless Isometric scroller game. All you need to do is, replace the game assets with your own Isometric graphics and characters and you are set!The template includes:Levels and code to create a fully functional isometric scrolling game.Designed and tested to run on any screen size and Device.Included a Level and its graphics from "Last of the Survivors" game.Code/Events to handle MOVE/JUMP/ATTACK using SWIPE and KeyboardTouch events to handle JUMP and ATTACK(fire bullets & kills enemies!)Virtual Controller to move Left & Right incase Swipe control is not preferredMain character with Run & Jump animation sprites.Zombie sprite that will walk toward the player & bite you if you get too close!(both charaters are Watermarked).COINS are spawned at intervals. Player can collect them by walking towards them. Includes animation of coins flying toward coin meter on the top! Free Isometric Assets for Road, Road Pits and tiles to create seamless LevelsMain screen(BONUS) Level Selector! This allows you to Horizontally scroll to select a Level to play (unlocks new level as you play)Global UI layout used for all Levels that will show you the Player's Health , Coin Collected and distance travelled. Also includes JUMP, ATTACK, Virtual Controls and Weapon icons.PAUSE screen: Press ESC key or tap Pause icon to show a Dialog box with Icons to Restart level, Goto Main or resumeGAME OVER: If you die, stats like Distance, Coins, Enemies killed are shown. If level is completed, same screen allows you to goto NEXT LEVELLoads of variables to track Player stats & store/load them to WebStorage.POWER UPS: Code that will spawn a Power up at given interval, This template includes Health pack

    Use this topic to leave comments, ask questions and talk about Endless Isometric Scroller

  • Hi All,

    I am releasing the code and logic used for my game "Last of the Survivors" as a game template on the Assets Store!

    Its called "Endless Isometric Scroller" Template.

    You can use it to make your own Isometric "ketchapp" type game or even clone my own game

    Let me know your thoughts, do you think people will be interested to buy it?

    Also whats the estimated time to get the Asset approved by Scrirra?

  • Sorry to se that you havent received any help yet. But just to understand, how do you intent to pass your JSON data to your server if you are not willing to run a webserver script that would accept the incoming data )like a PHP code)??

    You will have to POST the data to some sort of web script, which can read it and save it to the server right?

    BTW how are you reading JSON? I need some help

  • > AndreasR

    >

    > I "converted" to CocoonIO last night. I must say the performance is AWESOME!

    >

    > Love the fact that almost all my plugins are working fine. I am just having issue with the XML object , which I use to read "Level UP" information and data.

    >

    > Is there an issue with XML on CocoonIO? If so what's the work around? Please help me.

    >

    I'm glad to hear that you are satisifed with it.

    About the XML plugin. This is actually not a bug, it's just not supported with Canvas+ (WebView+ works fine though).

    You find a list what is supported and what isn't, here:

    https://shatter-box.com/knowledgebase/s ... -supported

    Thanks for the reply!! What are my other options? What can I use as DB to retrieve "Level Up" information as I used to store in my XML file?

  • SamRock I used nwjs for this. I believe webstorage/localstorage can also do the same. Just set a global variable to your json string and use it as an expression in your save/load structure

    ~Sol

    Sorry bit weak on the JSON part. Would really appreciate if you could share some sample code

  • I have made database structure will token delimited plain text, as well as JSON, as well as nested dictionary JSON. It really just depends how you want to make it work

    ~Sol

    Could you please show/tell how you used JSON within C2? Is there a plugin or something? I am currently storing my level up information in XML, which worked fine on XDK exported games. But when I switched to CocconIO , it doesnt seem to support XML at al

  • AndreasR

    I "converted" to CocoonIO last night. I must say the performance is AWESOME!

    Love the fact that almost all my plugins are working fine. I am just having issue with the XML object , which I use to read "Level UP" information and data.

    Is there an issue with XML on CocoonIO? If so what's the work around? Please help me.

  • R0J0hound

    I figured the sprite itself were not in the right isometric angle. I rendered my own tiles and now they look fine!

    I was wondering if there is someway I can restrict camera movement only within the Isometric map boundaries when my character is moving? Right now I am using scroll to player.x and y at every tick

    I am really struggling with the math

  • Yeah looks like the parallex is causing the fireball to move differently. Spawn them on same layer as the player

  • Ashley Kyatric

    Sorry for resurrecting an old post. But I had few questions on Containers too. I have a Container with sprites having different frames, say base sprite with 2 frames for Red and Blue soldier, Helmet sprite with again 2 frames fir Red and blue respectively.

    I place the 1 Red and 1 Blue Base sprite on the layout at design time. When the game is run, I want the Red base to get teh red Helmet and similarly Blue base to get Blue helmet. How can I achieve this?

  • Thanks! I did an A/B test on two different descriptions. This new one performed a little better.

    Wow.. this is amazing congratulations on hitting 200K mark! Very happy for you.

    How do you do the description tests? Could definitely learn from that! My ASO sucks

  • EDIT: I realize the code in Start Layout is setting the size of the tile. Now it looks good. But I would still like to know how the iso sizes are calculated for varying heights

    R0J0hound

    Really appreciate your help. Will try this out.

    I ran into another thing. Its with the tile size. Is there a standard formula to calculate the iso Size x,y and z if the height is not same as width (in my case width is 64px and height is 52px)? I followed your mini tutorial but it didnt seem to have any effect on the output.

    Attached the tile dimension and out for your reference.

  • SamRock

    0,0 on the map goes to 320,240 in the iso view. Do you either have to move the map or change the scroll position to a better center location.

    I used your second suggestion. Scrolled to Center of the isoview and increase size of my Layout! Thanks for the help.

    Have another question now, since I moved the scroll to center isoView within the layout. How do I translate mouse within isoView to the map grid?

    Secondly, not necessarily related to your Behaviour. But I noticed that the pathfind doesnt seem to work on narrow 32px grids. For example in my image above, when I place the "player" in the middle section, it is not able to find a path out. Do you have any suggestion?

    Lastly, thanks for your help. You have no idea how much smile you brought to me. If this work, I will have ur name all over the credit screen