A Haxe API for loading and interacting with LDtk 2D level editor project files in game development.
LDtk Haxe API is a library that allows Haxe-based game engines to load and interact with JSON project files created in the LDtk 2D level editor. It provides a typed interface to level data, ensuring that game code stays synchronized with level design changes. This solves the problem of manual data handling and reduces errors when integrating designed levels into games.
Game developers using Haxe with engines like Heaps.io or HaxeFlixel who design levels in LDtk and need a reliable way to import that data into their games.
Developers choose this API for its compile-time type safety, which catches errors early, and its seamless integration with popular Haxe frameworks. It eliminates manual JSON parsing and provides autocompletion in editors like VSCode, streamlining the level integration workflow.
LDtk level editor Haxe API (available on HaxeLib)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Renames in the LDtk project automatically break code references, catching errors early and ensuring data consistency between design and code.
With vs-haxe installed, developers get autocompletion based on the actual LDtk project content, enhancing productivity and reducing typos.
Works with all Haxe frameworks, with dedicated APIs for Heaps.io and HaxeFlixel, easing integration for popular game engines.
Includes examples built for WebGL and Hashlink targets, demonstrating adaptability to various platforms and use cases.
Documentation is hosted on a separate site (deepnight.net), which may be less convenient or not always synchronized with the latest API changes.
Building samples requires installing libraries from source, such as heaps and deepnightLibs, which can be time-consuming and error-prone for beginners.
Full autocompletion is only available in VSCode with vs-haxe, excluding users of other integrated development environments.