-
-
Notifications
You must be signed in to change notification settings - Fork 73
Home
This is an Unreal Engine 4 plugin that let you create procedural dungeon like "The Binding of Isaac" or "Rogue Legacy" but in 3D.
This plugin is an engine that let you create your dungeon with your own rules.
Before creating your rules, you should understand how the plugin work.
A generation is made of 4 phases :
- Unloading the previous dungeon (destroying actors, etc.)
- Generating a virtual dungeon (here are your rules)
- Loading the dungeon (spawning actors, etc.)
- Initializing the dungeon
First, read the Installation page to install the plugin.
Then, read and follow the instructions in the Dungeon-Generator page.
You can get the example project in the release page if you want a minimal working project.
The generation take a certain time (the generation itself is done on one frame, but the instantiation and loading of each room take some times proportionally to the number and complexity of the rooms).
So, if you have the player character spawned at start, it will fall into the void of the universe before the dungeon has the time to generate.
To manage this situation, you have multiple solutions:
- The easy and ugly way is to place a little plane somewhere with the player start on it, and disable the inputs from the player to prevent him to fall from this plane, then when the generation is complete you teleport the player into the firstroom and unlock the inputs;
- The better and cleaner way is to spawn the player as spectator until the generation is finished, and then you spawn the character actor in the first room (or anywhere else if you want to) and make it possessed by the player controller.
Both solutions use the Post Generation Event
to know when the generation is done.
You will also want to show or keep a loading screen when you start your game map, and you hide it on this event too.
You can join the Discord server dedicated to this plugin if you want to share, help or ask questions about it.
Installation
Getting Started
Room Architecture
Door
Plugin Settings
Packaging
Dungeon Generator
Choose First Room Data
Choose Next Room Data
Continue To Add Room
Is Valid Dungeon
Occlusion Culling
Door Types
Room Initialization
Room Custom Data
Room Visitor
Room Observer
Console Commands
Multiplayer
Navigation Mesh
Geometry Brushes
If you like my plugin, please consider tipping: