
AutoDungeon for GameMaker
A downloadable tool
AutoDungeon is a drop-in, fully-customizable 2D dungeon procedural generator for GameMaker that lets you turn a single line of code into sprawling, handcrafted-feeling levels. Whether you’re making a roguelike, Metroid-style map, or just need rapid prototyping, AutoDungeon handles the heavy lifting while giving you total control over room types, layout “feel,” and replayable randomness.
The script returns a simple ds_grid of {real} values (-1 for empty cells, and then user-set values for the rooms themselves)

Key Features
- Simple Setup
- Just instantiate:
dungeon = new AutoDungeonGrid(size, totalRooms, totalUniqueRooms, uniqueRoomsArray, connectingRoomsArray, mandatoryRoomsArray); dungeon.generate_room([optional seed])
-
Flexible room pools
-
Mandatory rooms (boss, special events, etc.)
-
Unique rooms (shops, mini-bosses, treasures) with per-room spawn rates and max-per-dungeon limits
-
Connecting rooms (generic corridors, hallways, filler)
-
-
Reproducible randomness
Optional seed parameter ensures you can save, share, or replay the exact same dungeon layout. -
Multiple build modes
-
Blob – an organic, cave-like cluster of rooms
-
Drunkard’s Walk – a winding, single-path “drunkard” carving from the start
-
Manhattan Distance – crisp L-shapes radiating out from the center, with optional MST-style linking
-
- Easy debugging & visualization
- Built-in
debug_draw_map(cellSize, spacing, showText)to instantly preview your grid in the GameMaker debugger.
- All methods in the AutoDungeonGrid, GridUniqueRoom, and GridConnectingRoom constructors are heavily documented
- Built-in
Do you use GameMaker and interested in fast-tracking your development? Make sure you check out my other Auto packages!
| Status | Released |
| Category | Tool |
| Release date | Apr 29, 2025 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | ome6a1717 |
| Made with | GameMaker |
| Tags | auto, dungeon, GameMaker, generation, Generator, grid, package, Procedural Generation, scripts, tool |
| Content | No generative AI was used |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:
Development log
- AutoDungeon for GameMakerApr 29, 2025

Comments
Log in with itch.io to leave a comment.
Hi, I just checked the scripts. One thing I don't understand: are all rooms accessable through their neighbor rooms? E.g. I have a room with rooms on N, S, E, W. Would all surrounding rooms be able to enter the room?
That’s correct, each room can be entered from any adjacent room.