Sets the base tile size for the map. Note: this does not necessarily match the tileWidth and tileHeight for all layers. This also updates the base size on all tiles across all layers.
name | type | description |
---|---|---|
tileWidth | number |
The width of the tiles the map uses for calculations. |
tileHeight | number |
The height of the tiles the map uses for calculations. |
This Tilemap object.