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

Upgrade Bevy to 0.11 #27

Closed
nelson137 opened this issue Nov 8, 2023 · 0 comments
Closed

Upgrade Bevy to 0.11 #27

nelson137 opened this issue Nov 8, 2023 · 0 comments
Labels
D-medium Difficulty: medium E-code Enhancement: code & refactors

Comments

@nelson137
Copy link
Owner

nelson137 commented Nov 8, 2023

Bevy 0.11 Upgrade

Guide

Bevy Startup Tree

  • New App::add_systems syntax, use it for everything, & remove base sets (link)
  • apply_system_buffers renamed to apply_deferred (link)

Gambit

  • New App::add_systems syntax, use it for everything, & remove base sets (link)
  • Audio bundles are entities, must be spawned (link)
  • Replace all App::add_plugin (singular) with App::add_plugins (plural) (link)
  • UI Style fields renamed (link)
  • Access the current Res{,Mut}<State> through its getter (link)
  • Command::write renamed to Command::apply (link)
  • Add #[derive(Event)] to events (link)
  • Replace OnUpdate(<state>) with .run_if(in_state(<state>)) (link)
  • Interaction::Clicked renamed to Interaction::Pressed (link)
  • UI Layout (link)
    • UiSystem::Flex renamed to UiSystem::Layout
    • Added support for CSS grid (PR)
@nelson137 nelson137 added the E-code Enhancement: code & refactors label Nov 8, 2023
@nelson137 nelson137 added the D-medium Difficulty: medium label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-medium Difficulty: medium E-code Enhancement: code & refactors
Projects
Status: Done
Development

No branches or pull requests

1 participant