DEV Community

Making Games in Rust - Part 1 - Bevy and ECS

Sébastien Belzile on December 07, 2021

Context I recently stumbled upon a short YouTube video of somebody building a roguelike game in Rust. From there, jumping from resource ...
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.