Extends
- PIXI.Container
Members
- The animation count for autotiles
- The tileset flags
- The height of the tilemap
- Whether the tilemap loops horizontally
originPoint
- The origin point of the tilemap for scrolling
- The height of one tile
- The width of one tile
- Whether the tilemap loops vertically
- The width of the tilemap
Methods
- Destroys the tilemap
- Initializes the tile map
- Checks whether the tileset is ready to render
Returns:
Type Description boolean True if the tilemap is ready - Forces a repaint of the entire tilemap
- Sets the bitmaps to be used as a tileset
Name Type Description bitmaps
array The array of the tileset bitmaps - Sets the tilemap data
Name Type Description width
number The width of the map in number of tiles height
number The height of the map in number of tiles data
array The one dimensional array for the map data - Updates the tilemap for each frame
- Updates the transform on all children of this container for rendering