Rooms, corridors, auto-tiled walls, lava and water, traps, chests, fog-of-war minimap + playable roguelike demo
Description
Dungeon Kit – procedural pixel art dungeon generator for Unity
Press a button, get a dungeon: rooms and corridors, auto-tiled walls, lava, water and pit pools, collision, lights, clutter, chests, traps, stairs and enemy spawn points. Same seed = same dungeon, so make endless floors at runtime or bake a layout in the editor and hand-edit it.
System
Show full description...
- DungeonGenerator – BSP rooms, corridors with optional loops, organic lava / water / pit pools, start and exit (the exit is the room furthest away by walking distance)
- Smart prop placement – lights in room corners, clutter along walls (never in a doorway), centerpieces and pillars, chests in the furthest rooms, traps in corridors
- DungeonLayout – rooms, start, exit, chests, traps and enemy spawn points: drop your own enemies in with one line
- Auto-tiling terrain – 5 terrains, corner-based (Wang) transitions, floor variants, and you can paint by hand in the Scene view
- Collision – merged tilemap collider built from the terrain
- Fog-of-war minimap that reveals as you explore
- DungeonProps asset – swap any prefab for your own (mimic chest, your torches, your enemies)
- Generate / New seed buttons in the Inspector to bake layouts in the editor
Art
- 32x32 tiles: wall, floor, lava, water, pit + 4 transition sets
- 15 props: brazier, barrel, crates, pots, bones, altar, gargoyle statue, rug, pillar, chest, stairs, spike trap, hole, door, cell bars
Demo
A tiny roguelike loop: explore, open chests, avoid spike traps, take the stairs down to a new floor. R makes a new dungeon, M opens the big map.
Not using Unity?
The PNG zip has all tiles (with the 16-tile transition layout explained) and props for Godot, GameMaker or any engine.
Technical
- Unity 6 (6000.0+), Built-in and URP; tested on 6000.0 and 6000.6 (2D and 3D templates)
- 2D Tilemap only, no other dependencies; demo works with the old Input Manager and the new Input System
- Own namespace and assembly definitions, README + PDF documentation
Fill it with Monster Pack, Undead Army or Fantasy Bosses, add spells from Pixel VFX.
🛒 Also coming to the Unity Asset Store and Fab.
AI disclosure: the tiles and props were created with AI-assisted pixel art tools (PixelLab), then checked and assembled by YET ART STUDIO. The code was written with AI assistance and tested in Unity 6.