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

Bundle Registering #60

Open
cart opened this issue Jul 19, 2020 · 2 comments
Open

Bundle Registering #60

cart opened this issue Jul 19, 2020 · 2 comments
Labels
A-ECS Entities, components, systems, and events A-Reflection Runtime information about types A-Scenes Serialized ECS data stored on the disk C-Usability A simple quality-of-life change that makes Bevy easier to use

Comments

@cart
Copy link
Member

cart commented Jul 19, 2020

It should be possible to register Bundles the same way we currently register components. This would enable a number of things:

  • app.register_bundle<MyBundle>() would be a nice shorthand for registering all components in the bundle
  • It would allow us to use bundles in the scene system
  • It would allow the editor to be aware of bundles / use them during scene construction
@cart cart added the C-Enhancement A new feature label Jul 19, 2020
@karroffel karroffel added the A-ECS Entities, components, systems, and events label Aug 12, 2020
pcwalton pushed a commit to pcwalton/bevy that referenced this issue Aug 30, 2021
@alice-i-cecile alice-i-cecile added C-Usability A simple quality-of-life change that makes Bevy easier to use A-Reflection Runtime information about types A-Scenes Serialized ECS data stored on the disk A-ECS Entities, components, systems, and events and removed C-Enhancement A new feature A-ECS Entities, components, systems, and events labels Dec 12, 2021
@alice-i-cecile
Copy link
Member

#4154 proposes an alternate strategy for type registration.

#4072 discusses the levels of abstraction, and whether or not bundles are the right tool for the job.

@james7132
Copy link
Member

james7132 commented Apr 20, 2024

This was added in a public facing way in #12573. Misread the issue, whoops.

@james7132 james7132 reopened this Apr 20, 2024
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 A-Reflection Runtime information about types A-Scenes Serialized ECS data stored on the disk C-Usability A simple quality-of-life change that makes Bevy easier to use
Projects
Status: In Progress
Development

No branches or pull requests

4 participants