Tileset#columns
  • References/Game Development/Phaser/Tilemaps/Tileset

[readonly] columns : integer The number of tile columns in the tileset.

2025-01-10 15:47:30
TilemapLayer#inCamera
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

2025-01-10 15:47:30
TilemapLayer#lifespan
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

2025-01-10 15:47:30
Tilemap#random()
  • References/Game Development/Phaser/Tilemaps/Tilemap

random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters

2025-01-10 15:47:30
Tilemap#setLayer()
  • References/Game Development/Phaser/Tilemaps/Tilemap

setLayer(layer) Sets the current layer to the given index. Parameters

2025-01-10 15:47:30
TilemapLayer#setScale()
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

setScale(xScale, yScale) This method will set the scale of the tilemap as

2025-01-10 15:47:30
Tileset#tileHeight
  • References/Game Development/Phaser/Tilemaps/Tileset

[readonly] tileHeight : integer The height of each tile (in pixels).

2025-01-10 15:47:30
Tilemap#format
  • References/Game Development/Phaser/Tilemaps/Tilemap

format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.

2025-01-10 15:47:30
Tilemap#orientation
  • References/Game Development/Phaser/Tilemaps/Tilemap

orientation : string The orientation of the map data (as specified in Tiled), usually 'orthogonal'.

2025-01-10 15:47:30
Tile#intersects()
  • References/Game Development/Phaser/Tilemaps/Tile

intersects(x, y, right, bottom) Check for intersection with this tile. Parameters

2025-01-10 15:47:30