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

tiles :array The super array of Tiles. Source code:

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

widthInPixels : number The width of the map in pixels based on width * tileWidth. Source

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

x : number The x map coordinate of this tile. Source code:

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

scrollFactorY : number Speed at which this layer scrolls vertically, relative to the camera (e.g. scrollFactorY of 0.5 scrolls

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

[readonly] tileMargin The margin around the tiles in the sheet (in pixels).Use setSpacing to change.

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

[readonly] previousRotation : number The rotation the Game Object was in set to in the previous

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

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

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

play(name, frameRate, loop, killOnComplete) → {

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

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.

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

[readonly] left : number The x value in pixels. Source

2025-01-10 15:47:30