Optional
angleIsometric projection angle, defaults to CLASSIC
. Other angles are exported as ISOMETRIC, MILITARY
3/14/2023 - 2:14:31 PM
Optional
baseThe base dimensions of tiles that comprise the map.
In 2D Tilemaps this would ideally be squares, { x: 32, y: 32 }
.
Isometric tilemaps expect a depth field to correctly place tiles at z > 0
3/14/2023 - 12:44:55 PM
Optional
baseThe anchor point at which tiles are expected to be drawn to screen, defaults to MIDDLE
3/14/2023 - 12:44:55 PM
Optional
clampIt's a good idea to clamp your values to aid performance. In general having values aligned around the 0.5 value will produce a well performing and visually appealing display.
3/14/2023 - 2:14:31 PM
Optional
getA getter function that retuns the screen dimensions of the canvas
3/14/2023 - 12:44:55 PM
getScreenDimensions: () => { width: 400, height: 400 }
Optional
getOptional
getOptional
worldThe screen offset for the 0,0 tile coordinate, defaults to 'MIDDLE'
3/14/2023 - 12:44:55 PM
Generated using TypeDoc
ISOTilemap class configuration, extending ITilemapConfig
Date
3/14/2023 - 2:14:31 PM
Export
Interface
IIsoTilemapConfig