Posted July 30, 2021 by ErroneousCreationist
#release
So, you downloaded the procedural facility. Lets say your a nerd like me, and you wanna know how it works.
Basically theres a startroom, end room, and corridors and rooms.
Basically it goes in 4 stages:
1: Generate start room. generates start room at spawn.
2: Generate Corridors. Generates corridors. Basically each room has doors, and it chooses a random door on the room, and gets a random door that already exists, and puts them together.
3: generate rooms. generates rooms on the doors that already exist. Rooms cannot have corridors coming off them, and act like a dead end.
4: Generate End Room. Generates end room.
Yeah thats how it works