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

[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate

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

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

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

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be

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

height : number The height of the sprite, setting this will actually modify the scale to achieve the value set

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

angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values

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

[readonly] deltaY : number Returns the delta y value. The difference between world.y now and

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

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

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

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

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

setScale(xScale, yScale) This method will set the scale of the tilemap as

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

resizeWorld() Sets the world size to match the size of this layer. Source code:

2025-01-10 15:47:30