tileHeight : number The base height of the tiles in the map (in pixels). Source
getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
[static] EAST : number Source code:
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
create(name, width, height, tileWidth, tileHeight, group) → {
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'.
Page 1 of 8