JackdawEngine.LDTK 0.2.1

dotnet add package JackdawEngine.LDTK --version 0.2.1
                    
NuGet\Install-Package JackdawEngine.LDTK -Version 0.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JackdawEngine.LDTK" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JackdawEngine.LDTK" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="JackdawEngine.LDTK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JackdawEngine.LDTK --version 0.2.1
                    
#r "nuget: JackdawEngine.LDTK, 0.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JackdawEngine.LDTK@0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JackdawEngine.LDTK&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=JackdawEngine.LDTK&version=0.2.1
                    
Install as a Cake Tool

LDTK Loader

An extension for loading levels made in the LDTK editor as nodes for use in Jackdaw. This extension is still work-in-progress and may be missing integration with some LDTK features.

Usage

The extension loads levels using the LDTKLoader class, which expects an a .ldtk file in the project. In order to work correctly, the setting Save levels as seperate files needs to be enabled in the ldtk project's EXTRA FILES options.

The extension uses conversion functions to load entities into corresponding actor instances. To set up an actor for use with level loading references need to be defined with the RegisterActor function.

Tile grids are loaded without needing registration but can make use of additional loading features to automatically set up some systems. Custom data can be loaded using the tileset's custom data field, which the loader expects in lines of key-value pairs with a colon seperator (ex; custom: my custom data goes here). The loader has some built-in custom data fields that can be used to set up some common systems.

  • Using the collider data key, a tile can be given collsion information on load. Syntax: collider: [TYPE] [DATA]
    • FULL: A rectangle collider the exact size of the tile. Syntax: collider: FULL
    • RECT: A rectangle collider of any size. Syntax: collider: RECT [x] [y] [width] [height] ex: collider: RECT 4 4 8 8
    • CIRCLE: A circular collider centered on its x/y position. Syntax: collider: CIRCLE [x] [y] [radius] ex collider: CIRCLE 8 8 4
    • POLY: A convex polygon collider made of an abritrary bumber of points. Syntax: collider: OLY [x1] [y1] [x2] [y2] ... ex collider: POLY 0 8 16 8 8 16 0 8
  • Using the anim data key, a tile can run a sprite animation instead of showing its normal texture. Syntax anim: [NAME] ex anim: testAnim
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 223 12/19/2025
0.1.0 283 11/26/2025