LevelJson
ldtk.LevelJson (Typedef)
This section contains all the level data. It can be found in 2 distinct forms, depending on Project current settings:
- If "Separate level files" is disabled (default): full level data is embedded inside the main Project JSON file,
- If "Separate level files" is enabled: level data is stored in separate standalone
.ldtklfiles (one per level). In this case, the main Project JSON file will still contain most level data, except heavy sections, like thelayerInstancesarray (which will be null). TheexternalRelPathstring points to theldtklfile.
A ldtkl file is just a JSON file containing exactly what is described below.
Metadata
| Name | Parameters |
|---|---|
section |
"2" |
display |
"Level" |