Interface

LevelOpt

:

group Options

tileWidth

: number

Width of each block.

tileHeight

: number

Height of each block.

pos

?: Vec2

Position of the first block.

tiles

: {}

Definition of each tile.

wildcardTile

?: (sym: string, pos: Vec2) => CompList<any> | null | undefined

Called when encountered a symbol not defined in "tiles".

kaplay logo

Layer

Miscalenous