Skip to content

Cammin/LDtkToUnity

Folders and files

NameName
Last commit message
Last commit date
May 19, 2024
Sep 23, 2024
May 27, 2024
Sep 4, 2024
Sep 10, 2024
May 27, 2024
Nov 14, 2020
Aug 24, 2023
May 19, 2024
Jul 16, 2023
Oct 19, 2022
Oct 13, 2022
Mar 16, 2022
Mar 29, 2022
Aug 4, 2023
Mar 4, 2024
Mar 29, 2022
Mar 29, 2022
Mar 29, 2022
Sep 27, 2023
Jun 3, 2024

Repository files navigation

LDtkToUnity
OpenUPM Compatibility GitHub Repo stars Hits Downloads Discord

A Unity importer system for deepnight's LDtk.

Discord
Install
Documentation
Changelog
Survey
Trello
OpenUPM
KoFi

It's a simple drag and drop!
DragNDrop

Features

  • Uses ScriptedImporters to import LDtk files, and re-imports when the LDtk project saves
  • Animated Tiles!
  • Collision options
  • Entity prefab replacements
  • Imports fields from entities and levels
  • Automatic enum script generation
  • Custom Post-import scripting to customize the import result (API)
  • Properties and functions for LDtk data for better Unity context (API)
  • Separates Tileset generation to optimize import speeds, and pack into a SpriteAtlas
  • Supports separate level files
  • Supports Unity's Configurable Enter Play Mode
  • Fully documented

Can add separate level files too!
Drag-N-Drop

If you have any questions/problems then post an issue; I'd gladly take any feedback.
Alternatively, contact me at cameo221@gmail.com, the Discord server, or Twitter @CKrebbers.

If you like this importer, consider signing a survey for feedback or donate.
If you make a game using this, then I'd be happy to check it out! Showcase your work on the Discord server or give me a shout-out on Twitter.

Premise & Review

This importer started as an attempt to produce levels in an easy and streamlined fashion. When searching for a solution to mass-produce levels, I discovered LDtk, as its really fun to use and is relatively young. I started working on a personal level importer, but after noticing how convenient and standalone the importer has become, I took it upon myself to make this a public repo as a package! I enjoy it's production, and learning a lot in the process.

Opacity