tileHeight : number The base height of the tiles in the map (in pixels). Source
removeAllLayers() Removes all layers from this tile map. Source code:
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
game : Phaser.Game A reference to the currently running Game
setLayer(layer) Sets the current layer to the given index. Parameters
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
layer : number | string | Phaser.TilemapLayer
enableDebug : boolean If set then console.log is used to dump out useful layer creation debug data.
format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.
setCollisionByExclusion(indexes, collides, layer, recalculate)
Page 2 of 8