-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Bundle example #1514
Copy link
Copy link
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Description
Activity
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
Bundles are an important piece of the core ECS design, but aren't covered very well by the existing examples.
What solution would you like?
An example showing how to create bundles is made. This should include more advanced patterns, like merging bundles, creating a trait for a specific class of bundles etc.
What alternative(s) have you considered?
This could instead be added to
ecs_guide, or more game examples. I'm not super keen on this, since it makes it even harder to search for.The docs.rs documentation could also be improved, which is probably worth doing at the same time regardless.
Additional context
Once #792 is solved, an explanation for how to merge bundles ergonomically should be added to this example.
If
spawn_batchstill exists, showing how to use these bundles withspawn_batchis very valuable.