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#tileHeight
  • References/Game Development/Phaser/Tilemaps/Tilemap

tileHeight : number The base height of the tiles in the map (in pixels). Source

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
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
Tilemap#layer
  • References/Game Development/Phaser/Tilemaps/Tilemap

layer : number | string | Phaser.TilemapLayer

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#getTileBelow()
  • References/Game Development/Phaser/Tilemaps/Tilemap

getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces

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

enableDebug : boolean If set then console.log is used to dump out useful layer creation debug data.

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

removeAllLayers() Removes all layers from this tile map. Source code:

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

setPreventRecalculate(value) Turn off/on the recalculation of faces for tile or collision updates.setPreventRecalculate(true)

2025-01-10 15:47:30