TilemapLayer#health
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

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

[static] WEST : number Source code:

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

[readonly] total : integer The total number of tiles in the tileset.

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

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate

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

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)

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

objects :array An array of Tiled Object Layers. Source code:

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

version : number The version of the map data (as specified in Tiled, usually 1). Source

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

width : number The width of the tile in pixels. Source code:

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

firstgid : integer The Tiled firstgid value.This is the starting index of the first tile index this Tileset contains.

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

setCollision(left, right, up, down) Sets the collision flags for each side of this tile and updates the interesting faces list.

2025-01-10 15:47:30