Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamnabholz/defold-ldtk-importer
Generate tilemaps in Defold from your LDtk levels
https://github.com/iamnabholz/defold-ldtk-importer
defold defold-extension defold-library game-development generator importer ldtk level-editor
Last synced: 22 days ago
JSON representation
Generate tilemaps in Defold from your LDtk levels
- Host: GitHub
- URL: https://github.com/iamnabholz/defold-ldtk-importer
- Owner: iamnabholz
- Created: 2024-09-07T23:59:58.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T01:32:09.000Z (4 months ago)
- Last Synced: 2024-10-25T09:48:24.653Z (2 months ago)
- Topics: defold, defold-extension, defold-library, game-development, generator, importer, ldtk, level-editor
- Language: Lua
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LDtk importer for Defold (WIP)
## Installation
You can use the LDtk importer in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:https://github.com/iamnabholz/defold-ldtk-importer/archive/master.zip
Or point to the ZIP file of a [specific release](https://github.com/iamnabholz/defold-ldtk-importer/releases).
## Quick Start
Getting started with the LDtk importer is easy:1. Right click on the LDtk file on your project tree view.
2. Click on `Generate Tilemaps` to generate a Defold tilemap from each level of your LDtk project.
3. You can also generate a Lua module for each `Entity layer` so you can use them in your game.## Setup
In LDtk you can create a new value that holds the path for your `.tilesource` file in Defold, needed for every tilemap- Create a new `string` property called `tilesource`, and as a value add the path for your `.tilesource` file from your project tree