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

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

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

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by

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

getTileAbove(layer, x, y) Gets the tile above the tile coordinates given.Mostly used as an internal function by calculateFaces

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

getTilesetIndex(name) → {number} Gets the tileset index based on its name. Parameters

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

worldX Properties: Name Type Description

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

cropRect : Phaser.Rectangle The Rectangle used

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

index : number The index of this tile within the map data corresponding to the tileset, or -1 if this represents a blank/null tile

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

collisionCallbackContext : Object The context in which the collision callback will be called.

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

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

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

createFromTiles(tiles, replacements, key, layer, group, properties)

2025-01-10 15:47:30