setTileSize(tileWidth, tileHeight)
Sets the base tile size for the map.
Parameters
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. |
- Source code: tilemap/Tilemap.js (Line 237)
Please login to continue.