Skip to content

About

An app that exports an LDtk project's tileset definition as an individual file

Resources

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

LDtk Tileset Exporter

This aims to export individual files of tileset definitions from a project.
This is made for LDtkToUnity, but it should also be usable in any other engine/framework.

How to use

Execute from LDtk's custom command process. It's recommended to run after saving.
image

Note

This app also gathers all rectangles used in entity/level field instances for convenience. This supports both project & separate levels.
because this additional data exists, this app writes an initial JSON object structured like this.

Rects is an array of rectangles, and Def is the Tileset Definition:

{
    "Rects": []
    "Def": null
}

A rectangle is a simple object that is structured like this:

{
    "x": 0,
    "y": 0,
    "w": 0,
    "h": 0,
}

This app uses Utf8Json to deserialize/serialize json quickly.

About

An app that exports an LDtk project's tileset definition as an individual file

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages