[readonly] columns : integer The number of tile columns in the tileset.
[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera
lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'
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
setScale(xScale, yScale) This method will set the scale of the tilemap as
[readonly] tileHeight : integer The height of each tile (in pixels).
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'.
intersects(x, y, right, bottom) Check for intersection with this tile. Parameters
Page 2 of 25