MapData.load

Load a Tiled map from a JSON file. Throws if no file is found at that path or if the parsing fails.

struct MapData
static
load
(
string path
)

Parameters

path
Type: string

filesystem path to a JSON map file exported by Tiled

Return Value

Type: auto

The parsed map data

Meta