How to generate random levels?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gonz4 L

In my case, i use a tilemap with 64x64 tiles for the mobile-like game i’m doing now.

do you want 3D or 2D?

Millard | 2020-10-29 15:21

Hi Millard! The game it’s 2d.

Gonz4 L | 2020-10-29 15:41

:bust_in_silhouette: Reply From: CharlesMerriam

If your question is about the logic of making a random level, the answers are not Godot specific and you should look up “generating mazes”. Many approaches are to make some random rooms and then connect them.

If you have a more Godot specific question, could you add many more details?

in which case the only “problem” with his question would be the category it is in. It might be in Gossip rather than Engine. This site allows any questions as long as its related to game development. :slight_smile:

Millard | 2020-10-29 03:29

Just updated it. Thanks!

Gonz4 L | 2020-10-29 12:56

:bust_in_silhouette: Reply From: AndyCampbell

There are some nice tutorials for this topic - try searching for procedurally generated maps

GDQuest demo code
Video introducing the code
Another useful example