Extends
- PIXI.Container
Members
-
The animation count for autotiles.
-
The tileset flags.
-
The height of the tilemap.
-
Whether the tilemap loops horizontal.
-
origin Point
-
The origin point of the tilemap for scrolling.
-
The height of each tile.
-
The width of each tile.
-
Whether the tilemap loops vertical.
-
The width of the tilemap.
Methods
-
Destroys the tilemap.
-
Checks whether the tileset is ready to render.
Returns:
Type Description boolean True if the tilemap is ready. -
Forces to repaint the entire tilemap.
-
Sets the bitmaps 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.