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 ​
| Parameter | Type |
|---|---|
json | unknown |
options | LdtkParseOptions |