rex_maze_gen
Usage
Generate maze
Sample
Sample
- Call "Action:Generate" to generate a random maze asynchronously in a webworker. The same set of parameters will generate the same maze.
- "Condition:On completed" will be triggered while generating completed. "Condition:Is generating" will return true while generating.
- Then retrieving symbol of tiles in this maze by expressions, or condition
- "Expression:ValueAt" : get symbol of this tile in logic ( X , Y ) ,0=empty space, 1=wall, (-1)=not in map
- "Condition:Is a wall": return true if a tile is a wall (or an empty space)
- "Expression:MapWidth", "Expression:MapHeight": maze width or maze height
Cancel
Call "Action:Cancel" to cancel maze generating.
Call "Action:Cancel" to cancel maze generating.
Release
Call "Action:Release" to release current maze in memory.
Call "Action:Release" to release current maze in memory.
Official save/load
This plugin supports official save/load.
This plugin supports official save/load.
And more...
Uses rex_eventbalancer plugin + rex_loopiterator plugin to create tiles in multi-ticks, and rex_board_squareTx plugin to get the position of each tile. rex_board_squareTx plugin could support orthogonal or isometric map.
Uses rex_eventbalancer plugin + rex_loopiterator plugin to create tiles in multi-ticks, and rex_board_squareTx plugin to get the position of each tile. rex_board_squareTx plugin could support orthogonal or isometric map.