{"id":20815556,"url":"https://github.com/deepnight/ldtk-haxe-api","last_synced_at":"2026-02-23T15:31:33.819Z","repository":{"id":37609396,"uuid":"278713058","full_name":"deepnight/ldtk-haxe-api","owner":"deepnight","description":"LDtk level editor Haxe API (available on HaxeLib)","archived":false,"fork":false,"pushed_at":"2025-11-14T13:08:10.000Z","size":1932,"stargazers_count":99,"open_issues_count":15,"forks_count":34,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-02-09T14:08:30.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepnight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"deepnight"}},"created_at":"2020-07-10T19:06:49.000Z","updated_at":"2026-02-03T17:27:21.000Z","dependencies_parsed_at":"2023-09-22T17:48:13.103Z","dependency_job_id":"4c94dfae-d23f-4a7d-932f-c331a4ac6271","html_url":"https://github.com/deepnight/ldtk-haxe-api","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"purl":"pkg:github/deepnight/ldtk-haxe-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk-haxe-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk-haxe-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk-haxe-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk-haxe-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepnight","download_url":"https://codeload.github.com/deepnight/ldtk-haxe-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk-haxe-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29746539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T21:23:58.702Z","updated_at":"2026-02-23T15:31:33.789Z","avatar_url":"https://github.com/deepnight.png","language":"Haxe","funding_links":["https://github.com/sponsors/deepnight"],"categories":[],"sub_categories":[],"readme":"# About\n\n## What is this?\n\nThis is the Haxe API to load **LDtk Project JSON** files.\n\n*LDtk is a modern and open-source 2D level editor.*\n\n[Issue tracker (shared)](https://github.com/deepnight/ldtk/issues) |\n[API documentation](https://ldtk.io/docs/game-dev/haxe-in-game-api/) |\n[LDtk official page](https://ldtk.io)\n\n[![Unit tests](https://github.com/deepnight/ldtk-haxe-api/actions/workflows/unitTests.yml/badge.svg)](https://github.com/deepnight/ldtk-haxe-api/actions/workflows/unitTests.yml)\n\n## Features\n\n - Compatible with all Haxe based frameworks and engines.\n - Dedicated API for the following frameworks:\n   - Heaps.io\n   - [HaxeFlixel](https://haxeflixel.com/)\n - **Completely typed at compilation**: if you rename any element in your project (ie. level, layer, entity, etc.), the corresponding references in your code will break accordingly, avoiding typical errors or mistypings.\n - **Full completion in VScode**: if you have vs-haxe installed, you will get full completion while exploring your project file, based on its actual content, right from VScode.\n\n# Usage\n\n## Install\n\n```\nhaxelib install ldtk-haxe-api\n```\n## Documentation\n\nPlease check the **full documentation and tutorials** here:\n\nhttps://deepnight.net/docs/ldtk/haxe-api/\n\n## Samples\n\nYou can check some examples in [samples](samples) folder.\n\nSamples are built to **WebGL** (Javascript) and **Hashlink** targets, but you can try them on other compatible platforms too.\n\n### Requirements\n\nYou need a standard **Haxe** install, and the following libraries installed: *heaps* (from source), *deepnightLibs* (from source), *hlsdl*:\n\n```\nhaxelib git heaps https://github.com/HeapsIO/heaps.git\n\nhaxelib git deepnightLibs https://github.com/deepnight/deepnightLibs.git\n\nhaxelib install hlsdl\n```\n\n### Building samples\n\nOpen a folder in the `samples` folder (eg. `samples\\Generic - Generic - Read project`) and run:\n\n```\nhaxe build.hxml\n```\n\nYou can also build all samples in one go. Go in `samples` folder and run:\n\n```\nhaxe buildAll.hxml\n```\n\n### Rebuild samples HXMLs\n\nIf you modify the API, you might need to rebuild samples `HXML`s files themselves. In the root of the repo, run:\n\n```\nhaxe genSamples.hxml\n```\n\n## Unit tests\n\nYou can build and run unit tests manually using the following commands **from the repository root**.\n\n### JS/WebGL target\n\nYou will need Node interpreter to run the tests.\n\n```\nhaxe tests\\js.hxml\n```\n\n### Neko target\n\nYou will need Neko VM interpreter to run the tests.\n\n```\nhaxe tests\\neko.hxml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2Fldtk-haxe-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepnight%2Fldtk-haxe-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2Fldtk-haxe-api/lists"}