• LDtk
  • Showcase
  • Learn
  • APIs
  • Release notes
  • JSON format
  • Author
  • Discord
  • Source
  • Twitter
  • Deepnight Games

LDtk interface

  • Getting started with LDtk
  • Interface overview
    • Layers
    • Entities
    • Enumerations (enums)
  • World
  • IntGrid layers
  • Tile layers
    • Using the tile picker
    • Stamp and Random modes
  • Auto layers
    • Rules

In-game implementation

  • Loading LDtk in your game
  • Super simple export
  • Tiled TMX export
  • JSON overview
    • Optional separate levels
    • Unique identifiers
    • Making your dev life easier
    • “defs” section
    • “levels” section
    • World layout in JSON
    • Layer instances
    • Entity fields
    • Coordinate IDs
    • Tileset coordinate IDs
    • Automatic table of content
    • JSON schema file
    • Deprecation cycles
  • Haxe in-game API
    • Reading project JSON
    • Rendering
    • Samples
    • Reloading data at runtime
    • Troubleshooting API
  • Open source
  1. Home
  2. In-game implementation
  3. Haxe in-game API
  4. Samples
< Back to doc menu

Samples

Various samples are available in the Samples folder of the LDtk Haxe API GitHub repository:

View all samples

These samples demonstrate how to load a LDtk project for the following frameworks:

  • Heaps.io
  • HaxeFlixel
  • any framework (folder names prefixed with “Generic”)
Updated on February 18, 2021

Doc navigation

← RenderingReloading data at runtime →
< Back to doc menu
Deepnight games © 2019-2023 Deepnight Games
  • LDtk
  • Showcase
  • Learn
  • APIs
  • Release notes
  • JSON format
  • Author
  • Discord
  • Source
  • Twitter
  • Deepnight Games