orientation : string The orientation of the map data (as specified in Tiled), usually 'orthogonal'.
format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.
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
forEach(callback, context, x, y, width, height, layer) For each tile in the given area defined by x/y
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
imagecollections :array An array of Image Collections. Source code:
enableDebug : boolean If set then console.log is used to dump out useful layer creation debug data.
tileHeight : number The base height of the tiles in the map (in pixels). Source
Page 1 of 8