Skip to main content

Rectangle generator

Rectangle generator is a generator made for creating rectangular rooms or levels with Frigga.

Rectangle generator

Setup

The setup is very similar to the Walker generator, but also much simpler as there are not that many configurable options:

  1. Create an empty game object in a Scene
  2. Add the Rectangle Generator component to it
  3. Assign the Theme
  4. Configure Floor and Wall tiles in the inspector
  5. 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