
- #TILED EDITOR INSTALL#
- #TILED EDITOR CODE#
For example, having var p = new MyLdtkProject(), you can do things like p.all_enemies.f_hitPoints. It avoids mistakes like mistyping, renaming or removals: you see errors during compilation, not at runtime. LDtk loves Haxe: a powerful Haxe API which gives you access to fully typed values from your levels.
#TILED EDITOR INSTALL#
Auto update: you get notified as soon as a stable update is released and it’s up to you to install it when you’re ready, with a single click.HTML5: LDtk is built around modern web standards.
#TILED EDITOR CODE#
External enums: enums can be imported and synced directly from Haxe source code files (HX file)!. Enums: you can define an enumeration (ex: an “ItemType” enum with “Money”, “Ammo”, “Gun” values) and use this enum in your entity custom fields. Entities: fully customizable Entity with custom properties (ex: you can have a “Mob” entity, with a “hitPoints” field, which is an Integer limited to bounds). Auto-layers: paint your collision map and see the grass, textures and all the small details being drawn automatically!. Customizable layers: Integer grid layers, Tile layers and Entity layers support. It is recommended to just read the LDtk JSON. Note: this feature ONLY exists as a temporary method to load a LDtk project JSON in a game framework that only supports TMX files. Tiled export: LDtk can export Tiled TMX files for frameworks that only support this format. JSON: easy to parse file format for any game-engine out there (I promise it’s actually really easy). Universal and agnostic: compatible with all languages (not only Haxe) and game frameworks in the world. Easy to use: modern UI with a strong focus on ease-of-use and quality-of-life features. A very simple, straightforward and optional JSON file per level, if you want to access your Entities data or other information.
I’ve been there too, so LDtk offers a Super simple export option. I know: for every new tool out there, there is this moment when you need to write the importer for your favorite game engine. At any given time, you can still decide to contribute by paying any price you want for the app.
You're totally free to try and use it without paying anything, and all the things you create with this tool are, obviously, all yours (even for commercial use). Yes it is :) LDtk is " pay what you want, including free". 💬 Discord | 🌐 Website | 📖 Documentation LDtk is a modern 2D level editor specifically created for indies by the Dead Cells lead dev.