layers :array An array of Tilemap layer data. Source code:
setTileLocationCallback(x, y, width, height, callback, callbackContext, layer) Sets a global collision
getTileWorldXY(x, y, tileWidth, tileHeight, layer, nonNull)
getLayerIndex(name) → {number} Gets the layer index based on its name. Parameters
currentLayer : number The current layer. Source code:
createLayer(layer, width, height, group) → {
copy(x, y, width, height, layer) → {array} Copies all of the tiles
hasTile(x, y, layer) → {boolean} Checks if there is a tile at the given location. Parameters
widthInPixels : number The width of the map in pixels based on width * tileWidth. Source
tiles :array The super array of Tiles. Source code:
Page 5 of 8