TilemapLayer#getLocalBounds()
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle

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

texture : PIXI.Texture The texture that the

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#setChildIndex()
  • References/Game Development/Phaser/Tilemaps/TilemapLayer

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters

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

tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

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

getTiles(x, y, width, height, collides, interestingFace) → {array.<

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

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds

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

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.

2025-01-10 15:47:30