How Does A Endless Runner Work?
Which way would be better for an endless runner?
1. A super long scene (50,000 pixel width) with pre-arranged artwork and a tiled background
or
2. A standard size screen with moving artwork the player has to dodge
Or is there a better, more efficient way to make an endless runner?
1. A super long scene (50,000 pixel width) with pre-arranged artwork and a tiled background
or
2. A standard size screen with moving artwork the player has to dodge
Or is there a better, more efficient way to make an endless runner?
Comments
when actor self.position.x is less than 0
move self.position.x to 480
change self.height to XXXX
change self.width to XXXX
self.image to XXXX
if you do the above, you can change the size and shape of images so the platforms seem different every time they move across the scene.
I'd do it with tables, but there are many ways to do it.