{"id":13534158,"url":"https://github.com/deepnight/ldtk","last_synced_at":"2025-05-13T19:14:50.537Z","repository":{"id":37033838,"uuid":"267820792","full_name":"deepnight/ldtk","owner":"deepnight","description":"Modern, lightweight and efficient 2D level editor","archived":false,"fork":false,"pushed_at":"2024-11-13T09:10:55.000Z","size":154940,"stargazers_count":3618,"open_issues_count":323,"forks_count":203,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-27T20:03:45.456Z","etag":null,"topics":["2d","electron","game-development","haxe","haxe-libs","level-editor"],"latest_commit_sha":null,"homepage":"https://ldtk.io","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},"funding":{"github":"deepnight"}},"created_at":"2020-05-29T09:39:23.000Z","updated_at":"2025-04-27T03:51:59.000Z","dependencies_parsed_at":"2023-10-04T14:47:58.981Z","dependency_job_id":"eb8189d2-ba4d-4554-b76c-662b4f18736a","html_url":"https://github.com/deepnight/ldtk","commit_stats":{"total_commits":7243,"total_committers":30,"mean_commits":"241.43333333333334","dds":0.006489023885130507,"last_synced_commit":"214e721ffc7e8a313e5f634749aff09db719cae8"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2Fldtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepnight","download_url":"https://codeload.github.com/deepnight/ldtk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010818,"owners_count":21998995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["2d","electron","game-development","haxe","haxe-libs","level-editor"],"created_at":"2024-08-01T07:01:27.130Z","updated_at":"2025-05-13T19:14:45.528Z","avatar_url":"https://github.com/deepnight.png","language":"Haxe","readme":"![](https://github.com/deepnight/ldtk/blob/master/app/assets/appIcon.png)\n\n**Level Designer Toolkit** (*LDtk*) is a **modern**, **efficient** and **open-source** 2D level editor with a strong focus on user-friendliness.\n\nLinks: [Official website](https://ldtk.io/) | [Haxe API (on GitHub)](https://github.com/deepnight/ldtk-haxe-api)\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/deepnight/ldtk?color=%23dca\u0026label=%E2%AD%90)](https://github.com/deepnight/ldtk)\n[![GitHub All Releases](https://img.shields.io/github/downloads/deepnight/ldtk/total?color=%2389b\u0026label=Downloads)](https://github.com/deepnight/ldtk/releases/latest)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/deepnight/ldtk/test-windows.yml?label=LDtk%20build)](https://github.com/deepnight/ldtk/actions/workflows/test-windows.yml)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/deepnight/ldtk-haxe-api/unitTests.yml?label=Unit%20tests)](https://github.com/deepnight/ldtk-haxe-api/actions/workflows/unitTests.yml)\n\n# Getting LDtk latest version\n\nVisit [LDtk.io](https://ldtk.io) to get latest version.\n\n# Building from source\n\n## Requirements\n\n - **[Haxe compiler](https://haxe.org)**: you need an up-to-date and working Haxe install  to build LDtk.\n - **[NPM](https://nodejs.org/en/download/)**: this package manager is used for various install and packaging scripts. It is packaged with NodeJS.\n\n## Installing required stuff\n\n - Open a command line **in the `ldtk` root dir**,\n - Install required Haxe libs:\n ```\n haxe setup.hxml\n ```\n - Install Electron locally and other dependencies through NPM (**IMPORTANT**: you need to be in the `app` dir):\n ```\n cd app\n npm i\n ```\n\n## Compiling *master* branch\n\nFirst, from the root of the repo, build the electron **Main**:\n\n```\nhaxe main.debug.hxml\n```\n\nThis should create a `app/assets/main.js` file.\n\nThen, build the electron **Renderer**:\n\n```\nhaxe renderer.debug.hxml\n```\n\nThis should create `app/assets/js/renderer.js`.\n\n## Compiling another branch\n\nIf you want to try a future version of LDtk, you can checkout branches named `dev-x.y.z` where x.y.z is version number.\n\n**IMPORTANT**:\n - these *dev* branches might be unstables, or even broken. Therefore, it's not recommended to use, unless you plan to add or fix something on LDtk.\n - because *dev* branches might change quickly, you will need to update haxelibs often.\n - you will need to switch the *LDtk haxe API* to the **same** branch as LDtk repo. (adapt the branch name below accordingly):\n\n```\nhaxelib git ldtk-haxe-api https://github.com/deepnight/ldtk-haxe-api.git dev-0.6.0\n```\n\n## Running\n\nFrom a command line in the `app` folder, run:\n\n```\nnpm run start\n```\n\n# Contributing\n\nYou can read the general Pull Request guidelines here:\nhttps://github.com/deepnight/ldtk/wiki#pull-request-guidelines\n\n# Related tools \u0026 licences\n\n - Tileset images: see [README](app/extraFiles/samples/README.md) in samples\n - Haxe: https://haxe.org/\n - Heaps.io: https://heaps.io/\n - Electron: https://www.electronjs.org/\n - JQuery: https://jquery.com\n - MarkedJS: https://github.com/markedjs/marked\n - SVG icons from https://material.io\n - Default palette: \"*Endesga32*\" by Endesga (https://lospec.com/palette-list/endesga-32)\n - Default color blind palette: \"*Colorblind 16*\" by FilipWorks (https://github.com/filipworksdev/colorblind-palette-16)\n","funding_links":["https://github.com/sponsors/deepnight"],"categories":["Haxe","electron","game-development","Libraries"],"sub_categories":["Haxe"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2Fldtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepnight%2Fldtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2Fldtk/lists"}