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
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
removeAllLayers() Removes all layers from this tile map. Source code:
alignIn(container, position, offsetX, offsetY)
tileHeight : number The base height of the tiles in the map (in pixels). Source
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
intersects(x, y, right, bottom) Check for intersection with this tile. Parameters
<static> parseJSON(json) → {object} Parses a Tiled JSON
Page 1 of 25