Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | thewraithmod | |
Old Version | Published before Godot 3 was released. |
I would like to make a platformer game in the style of Spelunky.
Spelunky handles level generation by picking random premade “chunks” and placing them in the correct positions.
Example: Spelunky Generator Lessons
In Godot, how would I be able to create these premade level chunks using the tilemap node? Would I need to create separate tilemap scenes or have one scene with a collection of tilemaps that represent these different parts of a level?
I was thinking that I could just have one tilemap that represents the entire level and load in an array with the data of the tilemap chunk I am trying to use.
Also, when I’m generating a level would I just need to instance a new tilemap and place it where it needs to go?