Skip to main content

IsometricMapOptions

Index

Properties

columns

columns: number

The number of tile columns, or the number of tiles wide

optionalelevation

elevation?: number

optionalgraphicsOffset

graphicsOffset?: Vector

Optionally present a graphics offset, this can be useful depending on your tile graphics

optionalname

name?: string

Optionally name the isometric tile map

optionalpos

pos?: Vector

Optionally specify the position of the isometric tile map

optionalrenderFromTopOfGraphic

renderFromTopOfGraphic?: boolean

Optionally render from the top of the graphic, by default tiles are rendered from the bottom

rows

rows: number

The number of tile rows, or the number of tiles high

tileHeight

tileHeight: number

Height of an individual tile in pixels, this should be the height of the parallelogram of the base of the tile art asset.

tileWidth

tileWidth: number

Width of an individual tile in pixels, this should be the width of the parallelogram of the base of the tile art asset.