Proc Gen Dungeons
-
Game Engine
Unity 2D
Tool Type
Unity Script Package
Project Type
Solo Project
Status
Work In ProgressMy Roles
Tool Developer (Programming, Documentation)
Tool Overview
ProcGenDungeons is a tool that I have been developing since late February. Once set up, the user can input various room layouts, items, and enemies into the inspector of the generator script, select some generation settings, and then generate a procedural dungeon map for their game project when the scene starts.The tool is based on the procedually generated maps from The Binding of Isaac and I am hoping to implement more features in the future.
_
Project Development
The starting point of the main script was to place the rooms in the scene in a way that they don’t overlap and that they are placed adjacent to another room. Currently there are two generation methods for this, the first is the branch approach and the other is the drunken wanderer. These generation method are essentially a way to determine which room gets chosen to branch another room off of, for the branch approach it’s a random viable room and the drunken wanderer it’s the most recent viable room placed. Once the rooms are digitally mapped out, it adds doors between the rooms until all of them are somehow connected to the starting room.
In terms of enemies, there are multiple respawn settings that determine whether or not an enemy will respawn if the player enters the room again, this can be determined if the individual enemy is defeated that it won’t spawn again, if all the enemies in the defeated then only then they won’t spawn back and the last setting is that they will also respawn.
There’s also a loot pool scriptable object that can be applied to the rooms but this hasn’t been fleshed out entirely yet as of this point.
Core Features- Two map generation methods (Branch Generation, Drunken Wanderer).
- Adjustable spawn chances for Mid-Rooms, End Rooms and Special Rooms.
- The ability to copy the dungeon generation script variables as a scriptable object and use it as an override.
- Fully compatible with Unity’s Tile Palette tool, ideal for users designing levels with the Tile Brush.
Tool Documentation
DemoYet to be released.
- Two map generation methods (Branch Generation, Drunken Wanderer).