You are currently viewing DunGen

DunGen

DunGen allows you to procedurally generate a dungeon-like layout by piecing together rooms that you design in Unity.

Unlike other random generation methods, you’re not left with a barren set of corridors and only a vague blueprint of a dungeon; you get a fully-furnished, procedurally generated dungeon to your specification.

Features:

– Design each room as you would any other scene. Assign doorways and watch DunGen piece them together

– Full control over dungeon settings: length, branching factor and weights for each room type

– Supports multi-floor setups with no additional work. Just place doorways where they should be and DunGen handles the rest

– Procedural doesn’t mean everything has to be completely random. Control the flow of your dungeon with an easy-to-use flow graph interface

– Local Prop Sets: Specify which objects (and how many) appear on a per-room basis

– Random Prefab: A list of prefabs from which one is chosen at random to be spawned at the current position

– Global Prop Limits: Limit the number of props allowed on a per-dungeon basis

– Everything has a complex weight so you can control how likely it is for certain objects to spawn and where they are most likely to appear

– Supports doorways of different shapes/sizes – DunGen only connects matching doorway types

– Lock & Key system allows you to place locked doorways and matching keys throughout the dungeon layout (requires some programming to integrate with your own game)