endless level

skippertechskippertech Member Posts: 67
edited October 2012 in Working with GS (Mac)
Hi there, i am making an endless level type game, the template I have is just a really long scene, which seems like it would be hard for the game to run performance wise. Since the level would have to be extremly long i do not think this is very efficent. Is there a way I can get parts of the level to spawn as it goes? And have it get progressivly harder? Thanks

Comments

  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    It depends on the kind of runner... but spawning is way harder on resources than just laying out the levels as a general rule. How are you setting it up?
  • skippertechskippertech Member Posts: 67
    At the momment it is just layed out, but it does not go very far. and when you hit the bottom layer it sends you back to x=0, but i would have to manually build the WHOLE scene, which would probably take forever to go as far as I need to go. Is there a way it can generate the level as the runner runs?
  • UtopianGamesUtopianGames Member Posts: 5,692
    Best thing to do is move the platforms back to there starting position like i did in our runner template then you can have a small scene of 480x320 that looks like its endless.



    Another trick is to reset the hero if you require a bigger stage like in the JetPack below.



    Hope this helps.

    Darren.
  • skippertechskippertech Member Posts: 67
    The first option may work better for me, although I wanted the level to get progressivly harder as you advance through the game. and the highscore is constraining the x value, so wouldnt it just keep the highscore on a loop of 1-(how ever long the level is). Is there a workaround to this?
  • skippertechskippertech Member Posts: 67
    Best thing to do is move the platforms back to there starting position like i did in our runner template then you can have a small scene of 480x320 that looks like its endless.
    can you explain that a little more?
Sign In or Register to comment.