GameSalad

How to make an Infinite Platformer?

Triangularity GamesTriangularity Games Founder/OwnerMarylandPosts: 140Member, PRO
edited August 2017 in Working with GS (Mac)

I am trying to make an infinite platformer that is randomly generated. What would be the best way of accomplishing this? I have tried moving the player across the scene, but that proves difficult if you have to keep extending the scene. I feel the best way to accomplish this is to make the player still and move everything else within the screen (no scene size changes). However, after trying this I can't come up with a way for the ground to be infinite, either by spawning itself, or having two that move across the screen and then back to their original starting point (off screen). Essentially I am trying to make an infinite conveyor belt for which I can put obstacles and enemies on, but the important part is creating this infinite conveyor belt. Any help/advice would be greatly appreciated. Thanks in advance!

Best Answers

Answers

Sign In or Register to comment.