Tilemap#key
  • References/Game Development/Phaser/Tilemaps/Tilemap

key : string The key of this map data in the Phaser.Cache. Source code:

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

removeTile(x, y, layer) → {Phaser.Tile}

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

getLayerIndex(name) → {number} Gets the layer index based on its name. Parameters

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

swap(tileA, tileB, x, y, width, height, layer) Scans the given area for tiles with an index matching tileA

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

setTileSize(tileWidth, tileHeight) Sets the base tile size for the map. Parameters

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

setTileIndexCallback(indexes, callback, callbackContext, layer) Sets a global collision callback for the

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

debugMap :array Map data used for debug values only. Source code:

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

[static] CSV : number Source code:

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

createFromObjects(name, gid, key, frame, exists, autoCull, group

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

properties : Object Map specific properties as specified in Tiled. Source

2025-01-10 15:47:30