LDtk (Level Designer Toolkit) is a free, MIT-licensed open-source 2D tilemap and interconnected world editor for Windows, macOS, and Linux. Created by Dead Cells lead designer Sebastien Benard, it pairs real-time auto-layer tiling rules and typed entities with clean JSON exports for Godot, Unity, Bevy, and LÖVE.
Technical Overview
Architecture and Production Workflow
Authored by Sebastien Benard (deepnight, lead developer of Dead Cells), LDtk separates level gameplay topology from visual tile decoration so designers iterate room layouts at full creative speed without manually picking corner, edge, and wall-variation tiles. On an IntGrid layer, designers paint raw semantic integers (1 = SolidStone, 2 = Spikes, 3 = Water, 4 = Ladder). Simultaneously, LDtk's multi-pass Auto-Layer Rule Engine pattern-matches 3x3 or 5x5 neighbor matrices at 60 FPS, stamping randomized brick variants, overhanging grass tufts, background pillars, and ambient drop shadows automatically without touching collision data.
Beyond single rooms, LDtk treats an entire game world as a first-class interactive canvas: designers arrange Metroidvania rooms freely on a 2D World Map (or snap to GridVania/linear layouts), drag doors and patrol paths directly across room boundaries, and define strongly typed Entities complete with project-wide Enums (with spritesheet icons), clamped float/int fields, color pickers, and cross-room Entity Reference pointers (linking a Lever in Room A to a Gate in Room B). Projects output a well-documented .ldtk JSON schema: plus an optional Super Simple Export mode that bakes flat .png visual layers alongside simple CSV collision grids for zero-parser 48-hour game jams.
Pricing, Licensing, and Commercial Rights
LDtk is 100% free and open source under the MIT License on GitHub and itch.io. There are zero seat charges, royalties, or commercial restrictions: studios may ship .ldtk worlds directly inside proprietary Steam, console, mobile, and web builds or fork the Haxe/Electron editor for custom studio tooling.
Strengths and Tradeoffs in Studio Pipelines
| Design Requirement | Where LDtk Wins | When to Swap to Tiled |
|---|---|---|
| Metroidvania & Action 2D | Visual Auto-Layer rule matrices + interconnected World canvas make room iteration ultra-fast | Orthogonal rectangular grids only; does not support Isometric or Hexagonal tile projections |
| Gameplay Data Safety | Strongly typed Entity schemas, Enums, and cross-room object references catch level bugs early | Lacks per-tile arbitrary custom polygon collision shapes (uses grid cells or Entity volumes) |
| Engine Integration | Battle-tested importers for Godot 4, Unity (LDtkToUnity), Bevy (bevy_ecs_ldtk), LÖVE, and Haxe | Fewer built-in JavaScript editor automation extensions than Tiled's scripting API |
AI Transparency & Steam Disclosure
Standard SoftwareProcedural math, physics, or manual authoring software.
Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.