Skip to content

Insality/detiled

Repository files navigation

GitHub release (latest by date) GitHub Workflow Status codecov

Github-sponsors Ko-Fi BuyMeACoffee

Disclaimer

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

Detiled - is a Defold library that allows you to export tilesets and maps from Tiled editor to Decore entities and world collections.

Features

  • 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:

Decore

https://github.com/Insality/decore/archive/refs/tags/1.zip

Detiled

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.

Library Size

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

Setup

Game Example

Look at Shooting Circles game example to see how to use the Detiled library in a real game project.

API Reference

Quick API Reference

detiled.set_logger(logger_instance)
detiled.get_entities_packs_data(tilesets_path)
detiled.get_worlds_packs_data(maps_list_path)

API Reference

Read the API Reference file to see the full API documentation for the module.

Use Cases

Read the Use Cases file to see several examples of how to use the this module in your Defold game development projects.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues and Suggestions

For any issues, questions, or suggestions, please create an issue.

👏 Contributors

❤️ Support project ❤️

Your donation helps me stay engaged in creating valuable projects for Defold. If you appreciate what I'm doing, please consider supporting me!

Github-sponsors Ko-Fi BuyMeACoffee