Skip to content

Cammin/LDtkToUnity

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 14, 2023 23:46
February 9, 2023 00:01
November 14, 2020 15:30
June 28, 2021 23:17
October 19, 2022 03:11

LDtkToUnity
OpenUPM Compatibility GitHub Repo stars Hits Discord

A Unity importer system for deepnight's Level Designer Toolkit.

Discord
Install
Documentation
Changelog
Survey
Trello
OpenUPM

It's a simple drag and drop!
DragNDrop

Features

  • Uses ScriptedImporters to import an LDtk project
    • Automatically re-imports whenever the LDtk project is saved
  • TileLayers, AutoLayers, and level backgrounds work out of the box
  • IntGridValue assets used for collision
    • Optionally GameObjects too
  • Entities from prefabs
  • Entities and levels have all field data available
  • Automatic enum script generation
  • Many properties and functions that extend onto LDtk data for better context in Unity (API)
  • Works with/without separate level files
    • Can also add individual levels for modularity (ex. dungeon rooms)
  • Custom scripted postprocessor to customize the import result (API)
  • 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.
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.

Disclaimer

This project has stabilized development! 🎉
There may still be some new features, but development is calming down.
The changelog documents any breaking changes, but feel free to post issues regarding any problems.

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