Tilemap#tileWidth
  • References/Game Development/Phaser/Tilemaps/Tilemap

tileWidth : number The base width of the tiles in the map (in pixels). Source

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

layers :array An array of Tilemap layer data. Source code:

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

getTileWorldXY(x, y, tileWidth, tileHeight, layer, nonNull)

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

createLayer(layer, width, height, group) → {

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

widthInPixels : number The width of the map in pixels based on width * tileWidth. Source

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

copy(x, y, width, height, layer) → {array} Copies all of the tiles

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

tiles :array The super array of Tiles. Source code:

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

hasTile(x, y, layer) → {boolean} Checks if there is a tile at the given location. Parameters

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

getTile(x, y, layer, nonNull) → {

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

currentLayer : number The current layer. Source code:

2025-01-10 15:47:30