Package-level declarations
Types
A structure containing all the definitions of this project
This section is mostly only intended for the LDtk editor app itself. You can safely ignore it.
IntGrid value definition
IntGrid value instance
Type of the layer as enum possible values: IntGrid, Entities, Tiles, AutoLayer
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 .ldtkl files (one per level). In this case, the main Project JSON file will still contain most level data, except heavy sections, like the layerInstances array (which will be null). The externalRelPath string points to the ldtkl file. A ldtkl file is just a JSON file containing exactly what is described below.
This file is a JSON schema of files created by LDtk level editor (https://ldtk.io).
Nearby level info
The Tileset definition is the most important part among project definitions. It contains some extra info about each integrated tileset. If you only had to parse one definition section, that would be the one.
An enum that describes how levels are organized in this project (ie. linearly or in a 2D space). Possible values: Free, GridVania, LinearHorizontal, LinearVertical