Home▸Game Development▸Procedural Dungeon Generator (2D)

🏰 Procedural Dungeon Generator (2D)

Top-down 2D procedural dungeon map generator: random non-overlapping room placement connected by a real minimum-spanning-tree corridor graph. Adjustable room count, room size and corridor width, with a seeded regenerate button.

Game Development2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-procedural-dungeon ↗ Open standalone
⚙ Under the hood

A top-down 2D dungeon-map generator: non-overlapping rooms are placed with real overlap rejection and connected by a true minimum-spanning-tree corridor graph, so every room stays reachable. Adjust room count, room size and corridor width, then regenerate with a new seed.

procedural generationdungeonroguelikegraphgame developmentcanvas2d

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)