A downloadable tool

Buy Now$5.00 USD or more

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




Do you use GameMaker and interested in fast-tracking your development?  Make sure you check out my other Auto packages!

AUTO MAPGEN

  • A grid-based progression system designed for procedural path generation.

AUTO UI

  • A powerful and flexible UI package built specifically for GameMaker developers who want fast, modular, and highly customizable user interfaces. 

AUTO INPUT

  • The easiest way to handle every type of player input in your GameMaker project—keyboard, mouse buttons, gamepads, and analog sticks—all through a single, consistent API.

AUTO TILE

  • A fully modular, extensible autotiling solution for GameMaker that supports both 4-directional (16-bit) and 8-directional (48-bit) bitmasking (otherwise known as auto-tiling).

AUTO TOOLS

  • A package of essential GML functions I've created over the course of my time as a game developer. 


Updated 11 days ago
StatusReleased
CategoryTool
Release date 48 days ago
Authorome6a1717
Made withGameMaker
Tagsauto, dungeon, GameMaker, generation, Generator, grid, package, Procedural Generation, scripts, tool

Purchase

Buy Now$5.00 USD or more

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:

AutoDungeon v1.0.0 2025-28-04.yymps 19 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.