getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
removeAllLayers() Removes all layers from this tile map. Source code:
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters
setLayer(layer) Sets the current layer to the given index. Parameters
format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.
orientation : string The orientation of the map data (as specified in Tiled), usually 'orthogonal'.
setCollision(indexes, collides, layer, recalculate)
game : Phaser.Game A reference to the currently running Game
layer : number | string | Phaser.TilemapLayer
Page 1 of 8