Procedural Dungeon Generator in Unity [TUTORIAL]

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: Stylized Hand Painted Dungeon: L2S ARTS: ---- 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
Back to Top