Procedural Dungeon Generator in Unity [TUTORIAL]
https://www.youtube.com/watc...In this tutorial we'll be taking a look at how to generate procedural dungeon rooms in unity. This will be generating a dungeon map using the Depth First Search (DFS) algorithm. It will also show how to build the room and how the algorithm works.
Assets used in this video:
Code: https://github.com/silverlybee/dungeon-generator
Stylized Hand Painted Dungeon: https://assetstore.unity.com/packages/3d/environments/stylized-hand-painted-dungeon-free-173934
L2S ARTS: https://luther2s.artstation.com/
----
TIMESTAMPS
(00:00) Intro
(00:42) Creating the Rooms
(03:20) RoomBehaviour Script
(08:45) Creating the DungeonGenerator
(09:24) Generator Algorithm
(10:30) DungeonGenerator Script
(13:35) Creating the Grid
(15:59) Checking the Neighbors
(21:11) Creating the Dungeon Maze
(24:40) Instantiating the Dungeon Rooms
(32:16) Outro
----
SOCIAL MEDIA:
- TWITTER - @SilverlyBee
- INSTAGRAM - @SilverlyBee