Rectangle generator
Rectangle generator is a generator made for creating rectangular rooms or levels with Frigga.
Setup
The setup is very similar to the Walker generator, but also much simpler as there are not that many configurable options:
- Create an empty game object in a Scene
- Add the Rectangle Generator component to it
- Assign the Theme
- Configure Floor and Wall tiles in the inspector
- Configure the desired size of generated levels
Configuration
Some configuration sections are the same as for the Walker generator. If needed, check the Walker configuration.
Min Size
Minimum size of the level.
tip
Set to the same size as MaxSize if you want to have an exact/fixed size.
Max Size
Maximum size of the level.
Border Size
Size of the border filled with wall tiles