Skip to content

Choose Next Room Data

BenPyton edited this page Apr 9, 2022 · 7 revisions

Choose Next Room Data

This function is the main part of the procedural generation: it's where you set your rules.

In input, you have the current RoomData.
In output you have to pass a non-null RoomData.

Here an example of a simple dungeon made by NbRoom randomly chosen standard rooms before setting an exit room:

Next Step

The next step after choosing the rooms is how to stop the generation.

Clone this wiki locally