Tile#layer
  • References/Game Development/Phaser/Tilemaps/Tile

layer : Object The layer in the Tilemap data that this tile belongs to. Source

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

[readonly] right : number The sum of the x and width properties.

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

new Tile(layer, index, x, y, width, height) A Tile is a representation of a single tile within the Tilemap. Parameters

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

[readonly] top : number The y value. Source

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

centerY Properties: Name Type Description

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

faceRight : boolean Is the right of this tile an interesting edge? Source

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
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#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