Skip to content

Releases: Madour/LDtkLoader

LDtkLoader 1.5.3.1

17 Mar 17:01
Compare
Choose a tag to compare

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 and ldtk::ApiVersion::Tweak variables.
  • Minor fixes and performance improvements

Full Changelog: 1.5.3...1.5.3.1

LDtkLoader 1.5.3

15 Feb 22:47
Compare
Choose a tag to compare

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

13 Jan 19:16
Compare
Choose a tag to compare

Compatibility with LDtk version 1.5.2.

No API changes.

LDtkLoader 1.2.2

11 Feb 22:46
Compare
Choose a tag to compare

Small patch that fixed a bug when reloading a project.


Full Changelog: 1.2.1...1.2.2

LDtkLoader 1.2.1

21 Jan 18:02
Compare
Choose a tag to compare

What's changed

  • Add support for the table of content feature.
    See the Project::allTocEntities() and Project::getTocEntitiesByName(const std::string& name) APIs.

Full Changelog: 1.2.0...1.2.1

LDtkLoader 1.2.0

21 Jan 17:33
88139ea
Compare
Choose a tag to compare

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

10 Apr 10:11
Compare
Choose a tag to compare

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 of FieldDef 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 an EntityRef to get the referenced Entity !

LDtkLoader 0.9.3.2

26 Feb 12:24
Compare
Choose a tag to compare

Patch : take into account override Tileset for layers.

LDtkLoader 0.9.3.1

08 Oct 19:38
Compare
Choose a tag to compare

Bug fixes and improvements to version 0.9.3

LDtkLoader 0.9.3

19 Jun 10:32
Compare
Choose a tag to compare

LDtkLoader release for loading projects created witk LDtk 0.9.3.