-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Entity Templates #21
Comments
Is this feature available ? |
Not yet, but its still on the roadmap :) However that could still take a while (need to do query caching first), so if anyone wanna contribute... feel free to :p |
Svelto Ecs has interesting implementation, called Entity Descriptor's. Very robust and boilerplate (like many features in Svelto). |
It could look similar for Arch. But with less boilerplate code of course ^^ |
Background
Would be pretty neat if we could clone entities and its components based on a template which defines its values.
Basically a way to create entities with set values. Has many advantages, can be serialized easily and is more effective in many ways.
Idea
Either:
Or using source generation:
When we choose source generators we could even build more cool constructs around this. Like an extremely efficient identifier mechanic to clone certain templates:
The text was updated successfully, but these errors were encountered: