Namespace: Maze

Maze

Source:

Classes

Maze_Controller
Maze_Event
Maze_Player
Maze_Raycaster
Maze_Window_Confirm
Maze_Window_Pause
Scene_Maze

Methods

(static) my.generateMaze()

Generates a random maze with a depth first algorithm (https://en.wikipedia.org/wiki/Maze_generation_algorithm). Since it's invoked by DataManager, its parameters must be passed with the variables: Maze.genSize, Maze.genFloor, Maze.genWall and Maze.genTilesetId.

Source:

Type Definitions

genFloor

Tile id for the floor of generated maps.

Source:

genSize

Size of the generated maps. It will be set from plugin commands (must be >= 4).

Source:

genTilesetId

Tileset id for the generated maps.

Source:

genWall

Tile id for the wall of generated maps.

Source: