Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

Procedural Dungeon Generator in Unity [TUTORIAL]

Follow
SilverlyBee

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/dungeo...

Stylized Hand Painted Dungeon: https://assetstore.unity.com/packages...
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

posted by salvita93cw