Custom input
On this page, you will find out how to customize the input for the generator:
- how to add rooms to the level graph programmatically
- how to assign room templates to rooms based on their room type
- how to create level graph procedurally
Note: This guide lives in the 2D section of the documentation: here
The concepts are the same in the 2D version, you just have to replace the
Grid2D
class name suffix withGrid3D
. For example,LevelDescriptionGrid2D
->LevelDescriptionGrid3D
.
2D vs 3D docs: In order to keep the docs maintainable and up-to-date, I decided to have parts of the documentation only available for the 2D version of Edgar. This happens only when the concepts are very similar in both versions.
As a rule of thumb, if you see a class with theGrid2D
suffix, there is a high chance that you can replace the suffix withGrid3D
to get a class withs a very similar API.
If you have any questions regarding the 3D version od Edgar, come to our Discord or contact me directly via email (ondra@nepozitek.cz).