Platform Spawner - Precise & Efficient - For your endless runner game

ericzingelerericzingeler Member Posts: 334
edited August 2013 in Community Tutorials
Here is demo project of how to spawn platforms for an endless runner game.

image

Check it out

Post here for any questions.

Note: Once Creator v 0.11 is released with new loop behavior, current loop(s) will be replaced.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Nice stuff. Thanks for sharing.
  • ericzingelerericzingeler Member Posts: 334
    Thanks!
  • iamcarteziamcartez Houston, TexasMember Posts: 648
    edited August 2013
    Wow thanks!!! And I was just finishing up an Endless Runner game, sort of. Not anymore! Back to the drawing board.
  • fox2fox2 Member Posts: 67
    It's very helpful for me. thanks~~
  • yinSin_tanyinSin_tan Member Posts: 2
    arr the demo file it not available to download anymore? :(
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I'm not sure what the above demo was, but I have an endless runner demo linked below if you want to check that one out.

    http://www.jamie-cross.net/?portfolio=gamesalad-endless-runner-overview
  • yinSin_tanyinSin_tan Member Posts: 2
    edited January 2014
    hey thankyou jamie!!! i've checked it out, but why is it when the edge of the platform is touched by the white color block, the platform will be pushed away :O
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited January 2014
    Well the main purpose of that demo is to show how to continually spawn platforms like in an endless runner. It's not really a full game template. Since you are likely falling and dying at the moment you hit the edge of a platform and push it a little I wasn't too worried about it.

    If you wanted those platforms to never move when the edge is hit you'd need to move them across the screen using an interpolate behavior (and un-checking moveable in the physics settings) or some other way. In the class I teach at udemy I demonstrate this method when creating a full endless runner.

    As always there are lots of different ways of achieving the same effect, it just depends on your specifics needs.
Sign In or Register to comment.