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

[Feature Request] Custom field groups #1101

Open
joshleblanc opened this issue Apr 22, 2024 · 0 comments
Open

[Feature Request] Custom field groups #1101

joshleblanc opened this issue Apr 22, 2024 · 0 comments

Comments

@joshleblanc
Copy link

We can define entities in LDTK right now, and we can define custom fields on entities.

If we could create groups of custom fields called "components", we could implement an ECS system in the codebase simply by implementing systems and allowing LDTK to define the components and entities.

The behavior of a component would be similar to the behavior of a single custom field, given a new tab at the top to define them. For example, you define a component "bumpable" and it has the custom fields "power" and "loot". Now you can add that component to any entity, and it would contain power and loot as custom fields under "bumpable". The values default to the value from the component, but can be overridden.

Basically just a way to group re-usable custom fields to place on entities.

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

No branches or pull requests

1 participant