Releases: Madour/LDtkLoader
LDtkLoader 1.5.3.1
Although this is only a small patch, several improvements were made.
Starting from this release, the CMake target name LDtkLoader::LDtkLoader
should be used now (instead of just LDtkLoader):
target_link_libraries(YourTarget PRIVATE LDtkLoader::LDtkLoader)
What's Changed
- Remove references to the obsolete autoTilesetDefUid key
- Update neighbors directions to support Under, Over and Overlap levels
- Improve the LDTK_NO_THROW support by enabling custom throw macro in nlohmann::json
- Add missing success check when loading a Project from memory.
- LDtkLoader API version can now be checked using
ldtk::ApiVersion::Major
,ldtk::ApiVersion::Minor
,ldtk::ApiVersion::Patch
andldtk::ApiVersion::Tweak
variables. - Minor fixes and performance improvements
Full Changelog: 1.5.3...1.5.3.1
LDtkLoader 1.5.3
LDtkLoader now supports the additional neighours directions introduced in LDtk 1.5.3.
What's Changed
- Update directional enums and related logic to support more neighbours by @scastd in #36
- nlohmann::json was updated to latest version 3.11.3 (fix #35)
New Contributors
Full Changelog: 1.5.2...1.5.3
LDtkLoader 1.5.2
Compatibility with LDtk version 1.5.2.
No API changes.
LDtkLoader 1.2.2
LDtkLoader 1.2.1
What's changed
- Add support for the table of content feature.
See theProject::allTocEntities()
andProject::getTocEntitiesByName(const std::string& name)
APIs.
Full Changelog: 1.2.0...1.2.1
LDtkLoader 1.2.0
What's Changed
- json: move json.hpp to src and add public json_fwd.hpp by @Madour in #22
- Add support for loading projects from memory. by @LucidSigma in #23
- Update Level: parse IID in neighbours array (@jpvanoosten)
- Update LayerDef: do not parse the removed autoTilesetDefUid key (@jpvanoosten)
- Add LDTK_FIELD_PUBLIC_OPTIONAL CMake option by @Madour in #29
- Create codeql.yml by @Madour in #30
New Contributors
- @LucidSigma made their first contribution in #23
- @jpvanoosten made their first contribution in #25
Full Changelog: 1.1...1.2.0
LDtkLoader 1.0
LDtkLoader release for loading projects created with LDtk 1.0 and more recent.
Retro compatible with projects created with LDtk 0.9.3 and older.
Main changes:
Project
class is now used to load a .ldtk project files, it contains one or multiple worlds (when using the experimental "Multiple Worlds" feature)- New way to access Entity fields:
Entity::allFields()
returns a vector ofFieldDef
that contains field type and field name- New
Entity::getField<FieldType>(std::string)
: use it to get the value of a field. This method works with both Single fields and Array fields.
- Support for Entity Reference fields. Use the
->
operator of anEntityRef
to get the referenced Entity !
LDtkLoader 0.9.3.2
Patch : take into account override Tileset for layers.
LDtkLoader 0.9.3.1
Bug fixes and improvements to version 0.9.3
LDtkLoader 0.9.3
LDtkLoader release for loading projects created witk LDtk 0.9.3.