Daedalus 3D Dungeon Generator
A downloadable game for Windows
This is a demo for a freely available tool. Check out the repository at the following links!
Github: https://github.com/dillondrum70/daedalus-dungeon-generator
Documentation: https://github.com/dillondrum70/daedalus-dungeon-generator/wiki
This was my final project for my AI in Games class. The 3D Dungeon Generator:
1. Defines a grid
2. Places rooms in the grid randomly
3. Performs Delaunay Tetrahedralization to get a streamlined map that connects the rooms
4. Calculates the minimum spanning tree of the undirected graph of the edges from tetrahedralization
5. Adds random hallways back
6. Determines hall pathways using A*
7. and finally places rooms, pillars, walls, and other assets.
There is an orbital camera that allows you to right-click and drag to view the entire dungeon and zoom in and out with the scroll wheel. By pressing Enter, you can switch to a first person perspective that uses WASD. The player camera can be frozen in place using F (and unfrozen in the same way).
Working on this project was really rewarding. I learned a lot about several different algorithms like A* and Delaunay Triangulation/Tetrahedralization. I learned what can be achieved by combining multiple algorithms into a single feature. I hope to continue working on this project to make it into an actual game.
Title Art by Sandi Gerner
Status | In development |
Platforms | Windows |
Author | Dillster |
Comments
Log in with itch.io to leave a comment.
This is great!
Suggestions / Questions:
Could spaces be carved out manually?
Could others view a dungeon remotely, via a web interface (no install)?
Thanks!
Its set up to be fully automated using prefabs so you could switch out assets, but there isn't a system in place to create dungeons manually short of placing the assets yourself.
For your second question, the project wasn't intended to be WebGL, but I could look into making a build for it.