• LDtk
  • Download
  • Docs
  • Updates
  • Importers
  • Games
  • About
  • Join the official Discord
  • Source code
  • Twitter/X
  • Mastodon
  • Deepnight Games
↩ Back to docs
  • 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. Docs
  3. In-game implementation
  4. Haxe in-game API
  5. 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-2025 Deepnight Games
Pages
  • LDtk
  • Download
  • Docs
  • Updates
  • Importers
  • Games
  • About
Social
  • Join the official Discord
  • Source code
  • Twitter/X
  • Mastodon
  • Deepnight Games