Interface

LevelOpt

:

Options for the level component.

group Options

tileWidth

: number

Width of each block.

tileHeight

: number

Height of each block.

tiles

: {}

Definition of each tile.

wildcardTile

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

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

kaplay logo

Layer

Miscalenous