#Creating a procedural maze from Tilemap

3 messages · Page 1 of 1 (latest)

void lantern
#

Are you asking how to generate a maze (placement of walls and corridors), or how to use terrain sets in a TileMap to properly connect your textures? The two are completely separate.

delicate ore
#

Script that can procedurally produce mazes
I'm looking to generate a maze that has a random layout every time.

wheat shuttle
# delicate ore >> Script that can procedurally produce mazes I'm looking to generate a maze tha...

Faisal has a good series on procedural generation with terrains (https://youtu.be/IPt3jk7IsQw?si=aAqxbJK137PXSUJo). Once you have that down, you could look into applying it to a maze. For example, cr31 has instructions for creating procedural mazes (http://cr31.co.uk/stagecast/wang/perfect.html), but they're not specifically for Godot, so you'll need the other concepts first.

We'll be looking at using the autotiles in Godot 4 and generating a procedural map with a single biome and water tiles.

Links:
Video resources:

Autotile tutorial:

Project code:

▶ Play video