Tileset#setSpacing()
  • References/Game Development/Phaser/Tilemaps/Tileset

setSpacing(margin, spacing) Sets tile spacing and margins. Parameters

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

[readonly] physicsType : number The const physics body type of this object.

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

damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero

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

faceLeft : boolean Is the left of this tile an interesting edge? Source code:

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

copy(x, y, width, height, layer) → {array} Copies all of the tiles

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

setCollisionCallback(callback, context) Set a callback to be called when this tile is hit by an object.The callback must true

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

layer : Object The layer in the Tilemap data that this tile belongs to. Source

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

getTile(x, y, layer, nonNull) → {

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

[readonly] z : number The z depth of this Game Object within its parent Group.No two

2025-01-10 15:47:30