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

[Request Discussion] A way to share entity definitions across different ldtk project and could update correctly. #832

Open
JustusPan opened this issue Jan 25, 2023 · 1 comment

Comments

@JustusPan
Copy link

Scenario:
I have made 4 ldtk projects, they corresponding to 4 world/land/level in my game.
I made one of them first, and difined lots of entities.
Then I copy it to 4, and change what I need.

with project growing,
I need add more entity types now,
and I may add more worlds/land/level in my game,
I have to add new entities to each project manually and keep them sync with each other.

Proposal:
External Enum is easy to define with a text, so it's feasible to implement an "External Enums" feature.
But how about an "External Entities" feature?

What I could think is to allow a project indicate another project as "entity template reference". it will forbid current project create any entity definition, and use/update those from "entity template reference" directly.
I'm not sure about the implementation details, any more feasible idea to reuse entities between projects?

@deepnight
Copy link
Owner

It seems more related to the upcoming multi-worlds update (see #231).
The idea, in short, is to allow having multiple worlds in a single LDtk, each one having its own levels and layout.

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

2 participants