Making endless runner on GODOT

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By connork9
:warning: Old Version Published before Godot 3 was released.

How to make map generate itself by adding already exist assets to players way . Like temple run or crossy roads ? How to let our game generate path randomly with spawning assets to our players road ? Can someone do tutorial about it or explain ?

:bust_in_silhouette: Reply From: Zylann

To achieve this I would make a bunch of level parts in separate scenes, and have them respect specific conventions like: entry point, exit point, where to connect etc.
Then you can assemble level parts during the game with level.add_child(scene_resource.instance()) and set_pos() etc, like Legos :slight_smile:
No time to make a tutorial about this, but I have this idea in the works for my game project so I might do that some day…

How is that project working out for you, sir? xD

rafgp | 2018-12-02 07:05

I didn’t do that in my game in the end, because I didn’t need endless levels.

Zylann | 2018-12-02 16:17