Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDtk support #107

Open
2 of 4 tasks
jeremyfa opened this issue Jan 4, 2023 · 1 comment
Open
2 of 4 tasks

LDtk support #107

jeremyfa opened this issue Jan 4, 2023 · 1 comment
Assignees

Comments

@jeremyfa
Copy link
Member

jeremyfa commented Jan 4, 2023

The LDtk editor from @deepnight (https://ldtk.io/) is getting better and better.

It would be great if it was compatible with Ceramic as it would bring a full featured level editor around.

This can be done in multiple steps:

Step 1

  • Read .ldtk and .ldtkl files so that they are usable as Ceramic tilemaps.

Expose LDtk specific data as well (just like what was done with TMX raw data being exposed when loading Tiled data)

Step 2

  • As Ceramic already has an auto-tiling system that supports blob and wang sets, extend its capabilities to support a rule system similar to LDtk’s.

  • Parse LDtk rules into usable rules in Ceramic runtime directly

This opens the door to editing maps that can re-apply rules in game while still being compatible with LDtk editor as well

Step 3

  • Explore how the entities system of LDtk could be better integrated with Ceramic

Feedback is appreciated if you have any, before I start implementing it.

Will probably start working on that in the coming weeks 😊

@jeremyfa jeremyfa self-assigned this Jan 4, 2023
@jeremyfa
Copy link
Member Author

First step is starting to work.

Now actually working on Step 3: add an easy way to instanciate entities with a built-in implementation provided by Ceramic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant