Tilemap#create()
  • References/Game Development/Phaser/Tilemaps/Tilemap

create(name, width, height, tileWidth, tileHeight, group) → {

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

getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces

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

layer : number | string | Phaser.TilemapLayer

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

tileHeight : number The base height of the tiles in the map (in pixels). Source

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

removeAllLayers() Removes all layers from this tile map. Source code:

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

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

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

game : Phaser.Game A reference to the currently running Game

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

setLayer(layer) Sets the current layer to the given index. Parameters

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

fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters

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

width : number The width of the map (in tiles). Source code:

2025-01-10 15:47:30