Parses all tilemap layers in an Impact JSON object into new LayerData objects.
name | type | description |
---|---|---|
json | object |
The Impact JSON object. |
insertNull | boolean |
Controls how empty tiles, tiles with an index of -1, in the map data are handled (see {@link Phaser.Tilemaps.Parsers.Tiled.ParseJSONTiled}). |
Tilesets and Image Collections
name | type | description |
---|---|---|
json | object |
The Impact JSON data. |
An array of Tilesets.
Parses a Weltmeister JSON object into a new MapData object.
name | type | description |
---|---|---|
name | string |
The name of the tilemap, used to set the name on the MapData. |
json | object |
The Weltmeister JSON object. |
insertNull | boolean |
Controls how empty tiles, tiles with an index of -1, in the map
data are handled. If |
The created MapData object, or null
if the data can't be parsed.