Skip to content

1681-engine / index / parseLdtk

Function: parseLdtk() ​

ts
function parseLdtk(json, options?): LdtkProject;

Defined in: src/tilemap/ldtkParse.ts:261

Reads an LDtk project (already JSON.parsed). Throws an LDtk project: … error saying what is wrong.

Parameters ​

ParameterType
jsonunknown
optionsLdtkParseOptions

Returns ​

LdtkProject

Released under the MIT License.