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
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
Base Tilemap class configuration
Date
3/14/2023 - 12:44:55 PM
Export
Interface
ITilemapConfig