Skip to content

Bundle example #1514

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

Closed
alice-i-cecile opened this issue Feb 24, 2021 · 1 comment
Closed

Bundle example #1514

alice-i-cecile opened this issue Feb 24, 2021 · 1 comment
Labels
A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples D-Trivial Nice and easy! A great choice to get started with Bevy

Comments

@alice-i-cecile
Copy link
Member

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_batch still exists, showing how to use these bundles with spawn_batch is very valuable.

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events D-Trivial Nice and easy! A great choice to get started with Bevy C-Examples An addition or correction to our examples labels Feb 24, 2021
@alice-i-cecile
Copy link
Member Author

Resolved by #1570, which added docs to the Bundle trait directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples D-Trivial Nice and easy! A great choice to get started with Bevy
Projects
None yet
Development

No branches or pull requests

1 participant