Plugin : Maze gen

Author:Rex.Rainbow

Download

Properties

Actions

Maze

Action:Generate

  • Generate maze.
    • Width ( number ) : Map width.
    • Height ( number ) : Map height.
    • Algorithm ( Combo ) : Algorithm.
      • Options : ["divide","icey","eller"]
    • Seed ( number ) : Random seed.

Action:Cancel

  • Cancel current generating process.

Action:Release

  • Release map

Expressions

Map

Expression:MapWidth

  • Get width of map.

Expression:MapHeight

  • Get height of map.

Expression:ValueAt

  • Get cell value at logic X,Y. 1 is a wall, 0 is an empty space. Return -1 if this cell is invalid.
    • X ( number ) : Logic X.
    • Y ( number ) : Logic Y.

Expression:MapAsJson

  • Get map as JSON string. Return "" if map is not ready.

Conditions

State

Condition:Is generating

  • Return true if map is generating.

Condition:On completed

  • Trigger when map generating completed.

Value

Condition:Is a wall

  • Return true if it is a empty space or a wll in a specific logic position.
    • X ( number ) : Logic X.
    • Y ( number ) : Logic Y.
    • Type ( Combo ) : Type of tile.
      • Options : ["empty space","wall"]