Module

Graphics.Phaser.TileMap

Package
purescript-phaser
Repository
lfarroco/purescript-phaser

#TilemapConfig Source

#tilemapConfig Source

tilemapConfig :: { data :: Array (Array Int) -> Options TilemapConfig, height :: Int -> Options TilemapConfig, insertNull :: Boolean -> Options TilemapConfig, key :: String -> Options TilemapConfig, tileHeight :: Int -> Options TilemapConfig, tileWidth :: Int -> Options TilemapConfig, width :: Int -> Options TilemapConfig }

#MapDataConfig Source

type MapDataConfig :: Row Typetype MapDataConfig = (format :: Number, height :: Number, heightInPixels :: Int, imageCollections :: Array PhaserImage, images :: Array PhaserMapData, layers :: Array PhaserLayerData, name :: String, orientation :: String, properties :: Number, renderOrder :: String, tileHeight :: Number, tileWidth :: Number, tiles :: Array PhaserTile, tilesets :: Array PhaserTileSet, version :: Number, width :: Number, widthInPixels :: Int)

Docs: https://newdocs.phaser.io/docs/3.55.2/Phaser.Types.Tilemaps.MapDataConfig

#properties Source

properties :: forall a. PhaserTileMap -> Effect a

#calculateFacesAt Source

#getTileAt Source

#getTileAtWorldXY Source

#getTileAtWorldXYWithCamera Source

#getText Source

getText :: forall a. PhaserTiledObject -> Effect a

#getPropertyValue Source