Current Version (Asset Store): 2.17.1
Current Version (Beta): N/A
Description
DunGen is a Unity editor extension that lets you generate procedural dungeon layouts at runtime quickly and easily, with no programming required.
The extension uses a room-based approach that allows you to design and create segments of a level as you usually would inside Unity. Simply create a prefab that represents a “room” in your dungeon, specify doorway positions, and let DunGen generate your random dungeons.
With an easy-to-use graph-based interface, you can control the flow of your dungeon, placing specific rooms, or varying the type of dungeon that is placed along the main path.
DunGen also provides several options for randomising props that appear in your dungeon, all fully customizable with user-defined weights and limits. DunGen is designed to satisfy as many requirements as possible without encroaching in “game-specific” territory. The full source-code is also available for if you need additional, specific features or adjustments.
The latest beta version (if there is one) can always be found here.
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 multiple doorway shapes/sizes and only connects doorways that match
- 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 graph interface
- Local Prop Sets: Specify which objects (and how many) appear on a per-room basis
- Random Prop: A list of prefabs of 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 (and where it is most likely) for certain objects to appear
- Support for SECTR VIS portal culling
- 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)
- Full source code included
Considerations before purchasing
- There are some restrictions on where doors can be placed depending on the room shape. Explained on pages 3 & 4 of the readme file.
More information is available on the Asset Store page.
I’ll try to answer any questions in this thread as quickly as possible. Support is also available by e-mail (please include your invoice number unless you’re asking a pre-purchase question).
Links
Asset Store
E-mail Support (please include your invoice number unless you’re asking pre-purchase questions)
Documentation
FAQ