DEV Community

Discussion on: Making Games in Rust - Part 1 - Bevy and ECS

Collapse
 
adsick profile image
adsick

In new Bevy 0.6 all structs are no more Components by default, please update the tutorial.

Collapse
 
sbelzile profile image
Sébastien Belzile

To make this work with Bevy 0.6:

  • you must add #[derive(Component)] on top of your component structs to turn them into components.
  • App::build() is now App::new()
Collapse
 
sbelzile profile image
Sébastien Belzile

Some part of the tutorial will not work yet with Bevy 0.6 (part 3+, but I expect the effects to show up from part 8). There is this issue github.com/dimforge/bevy_rapier/is... remaining in Bevy Rapier that still prevents me from updating everything.