Dungeon Master

Dungeon Master is a designer-friendly dungeon generation toolkit for Unity. It lets you generate a 2D dungeon blueprint, edit rooms and connections in the Unity Editor, validate the layout, and build a modular 3D dungeon from your own prefabs.

The core workflow is intentionally direct:

  1. Open Tools > Dungeon Master > Blueprint Builder.
  2. Generate a dungeon blueprint.
  3. Select rooms and edit their type, size, position, and content markers.
  4. Edit doors and passages between rooms.
  5. Assign a Dungeon Theme Profile.
  6. Click Generate 3D Dungeon.

What It Includes

  • ScriptableObject-based dungeon layout data.
  • 2D blueprint editor window.
  • Configurable room count, room sizes, branching, loops, locked doors, secret rooms, and decoration chance.
  • Room types: Normal, Entrance, Exit, Encounter, Treasure, Boss, Puzzle, Secret.
  • Connection types: Open, Door, Locked Door, Secret Door, Wall.
  • Content markers: Chest, Enemy Spawn, Boss Spawn, Trap, Decoration, Custom.
  • Modular prefab theme profile.
  • 3D builder for floors, walls, doors, corridors, and content prefabs.
  • Runtime metadata components for doors and content markers.

Package Location

After importing the asset, the package is located at:

Assets/PixitGames/DungeonMaster

The runtime scripts use the DungeonMaster namespace. Editor scripts use DungeonMaster.Editor.

Main Entry Points

Area Location
Editor Window Tools > Dungeon Master > Blueprint Builder
Runtime Assembly Assets/PixitGames/DungeonMaster/Runtime
Editor Assembly Assets/PixitGames/DungeonMaster/Editor
Demo Scene Assets/PixitGames/DungeonMaster/Scenes/DemoDungeon.unity
Default Prefabs Assets/PixitGames/DungeonMaster/Prefabs
Generated Assets Assets/PixitGames/DungeonMaster/Generated

Design Focus

Dungeon Master focuses on the core dungeon creation pipeline: generate a dungeon, edit it like a blueprint, validate it, and build it in 3D.

Gameplay systems such as enemy AI, loot tables, lockpicking, combat, and puzzle logic are intentionally left as plug-in systems. Dungeon Master provides metadata and spawn points so your own gameplay code can connect cleanly.