heightInPixels : number The height of the map in pixels based on height * tileHeight.
getImageIndex(name) → {number} Gets the image index based on its name. Parameters
setPreventRecalculate(value) Turn off/on the recalculation of faces for tile or collision updates.setPreventRecalculate(true)
removeTileWorldXY(x, y, tileWidth, tileHeight, layer) → {
tileWidth : number The base width of the tiles in the map (in pixels). Source
createBlankLayer(name, width, height, tileWidth, tileHeight, group) → {
layers :array An array of Tilemap layer data. Source code:
setTileLocationCallback(x, y, width, height, callback, callbackContext, layer) Sets a global collision
height : number The height of the map (in tiles). Source code:
new Tilemap(game, key, tileWidth, tileHeight, width,
Page 4 of 8