getTileRight(layer, x, y) Gets the tile to the right of the tile coordinates given.Mostly used as an internal function by calculateFaces
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.
orientation : string The orientation of the map data (as specified in Tiled), usually 'orthogonal'.
setCollision(indexes, collides, layer, recalculate)
[static] EAST : number Source code:
random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters
create(name, width, height, tileWidth, tileHeight, group) → {
getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
layer : number | string | Phaser.TilemapLayer
Page 1 of 8