Line Runner similar game question
Hi everybody!
I would need to make a game similar to Line Runner, vertical scrolling though, and the thing i'd like to know is if it's possible to spawn obstacles using tables (setting their X and Y coordinates in order for the obstacles to be respawned to the same positions once you restart the game). the spawner will have a timer that will spawn an obstacle/sec, but obstacles are 3 different actors, not just one...
If that's not possible, what can I do? i always wonder how Line Runner works, does it have a long scrolling scene that has all the obstacles already set into the scene, so no spawning at all?
I would need to make a game similar to Line Runner, vertical scrolling though, and the thing i'd like to know is if it's possible to spawn obstacles using tables (setting their X and Y coordinates in order for the obstacles to be respawned to the same positions once you restart the game). the spawner will have a timer that will spawn an obstacle/sec, but obstacles are 3 different actors, not just one...
If that's not possible, what can I do? i always wonder how Line Runner works, does it have a long scrolling scene that has all the obstacles already set into the scene, so no spawning at all?
Comments
I wouldn't spawn and destroy objects. Just recycle them.