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

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

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

texture : PIXI.Texture The texture that the

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

alignIn(container, position, offsetX, offsetY)

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

maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure

2025-01-10 15:47:30