setLayer(layer) Sets the current layer to the given index. Parameters
random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters
enableDebug : boolean If set then console.log is used to dump out useful layer creation debug data.
getTileRight(layer, x, y) Gets the tile to the right of the tile coordinates given.Mostly used as an internal function by calculateFaces
layer : number | string | Phaser.TilemapLayer
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
tileHeight : number The base height of the tiles in the map (in pixels). Source
format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.
tilesets :array An array of Tilesets. Source code:
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
Page 1 of 8