How to make a randomized map which is connected?

I want to make a randomized map that is random , but connected (you can walk on paths), like a dungeon generator. It’s also a top-down game.
Help pwease?

Try the dungeon generation extension

1 Like

You could make different tile shaped sprites. You would need to divide the ,map in tiles of the same size and then make a variable for each tile. Then at the beginning of the scene you’d set each variable of each tile to a random in range number (1-6). Let’s say 1 creates a object(tile) that’s a path. 2 creates an object thats a wall. etc. But then you would have to build it in a way where some areas on your map can only have path tiles just to ensure there’s always a connected path.