The library in development stage. May be not fully tested and README may be not full. If you have any questions, please, create an issue.
Detiled - is a Defold library that allows you to export tilesets and maps from Tiled editor to Decore entities and world collections.
- Export Tilesets - Export tilesets from Tiled as Decore entities collection
- Export Map - Export map from Tiled as Decore world collection
- Custom Properties - Support various custom properties for tilesets and map
Open your game.project
file and add the following line to the dependencies field under the project section:
https://github.com/Insality/decore/archive/refs/tags/1.zip
https://github.com/Insality/detiled/archive/refs/tags/1.zip
After that, select Project ▸ Fetch Libraries
to update library dependencies. This happens automatically whenever you open a project so you will only need to do this if the dependencies change without re-opening the project.
Note: The library size is calculated based on the build report per platform
Platform | Library Size |
---|---|
HTML5 | 1.96 KB |
Desktop / Mobile | 3.35 KB |
Look at Shooting Circles game example to see how to use the Detiled library in a real game project.
detiled.set_logger(logger_instance)
detiled.get_entities_packs_data(tilesets_path)
detiled.get_worlds_packs_data(maps_list_path)
Read the API Reference file to see the full API documentation for the module.
Read the Use Cases file to see several examples of how to use the this module in your Defold game development projects.
This project is licensed under the MIT License - see the LICENSE file for details.
For any issues, questions, or suggestions, please create an issue.
Your donation helps me stay engaged in creating valuable projects for Defold. If you appreciate what I'm doing, please consider supporting me!