1 unstable release
0.3.0 | Aug 8, 2022 |
---|
#984 in Game dev
204 stars & 4 watchers
91KB
529 lines
NEW YouTube full tutorial - Rust Bevy - Full Tutorial - Game Dev
CODE UPDATED to Bevy 0.11.3 - Thanks to juliohq
Rust Bevy - Game Dev tutorials
Latest Bevy Version updates
- 2023-10-11 - Updated to Bevy 0.11.3. Thanks to juliohq
- 2023-05-02 - Updated to Bevy 0.10. Thanks to ehasnain
- 2022-12-13 - Updated to Bevy 0.9. Thanks to GiulianoCTRL
- 2022-08-07 - Main branch updated to Bevy 0.8. Thanks to DomagojRatko
MacOS Setup
- Ensure Rust and Cargo are installed
- Delete the Cargo.lock, as it may otherwise raise an error the first time:
rm Cargo.lock
- Install Cmake with Homebrew:
brew install cmake
- Install Cargo Watch:
cargo install cargo-watch
Fedora (Linux) requirements
Ensure to have on your system with a package manager of your choice
dnf install rust-alsa-sys-devel
dnf install rust-libudev-devel
Thanks to janpauldahlke
Development
For rapid development:
-
cargo run --features bevy/dynamic
-
cargo watch -q -c -x 'run --features bevy/dynamic'
-
Other Rust videos:
- Weekly Rust Videos at Jeremy Chone channel
- Rust Game Development Tutorials
Change log
- 2022-12-13 - Updated to Bevy 0.9. Thanks to GiulianoCTRL
- 2022-08-07 - Main branch updated to Bevy 0.8. Thanks to DomagojRatko
- 2022-08-07 - Main branch updated to Bevy 0.8 thanks to @DomagojRatko
- 2022-05-09 - Updated to new tutorial for v0.7. See Rust Bevy - Full Tutorial - Game Dev
- 2022-01-28 - Code has been updated to Bevy v0.6 !!!
- 2021-06-25 - Initial (for old tutorial Episode 1, Episode 2, Episode 3)
Rust & Bevy & Other Resources
Topics learned and used:
- Rust Programming for Game Development
- Game ECS Engine Bevy
- Bevy System, Bevy Components, Bevy Resources
- Bevy Plugins
- Bevy entities spawn and despawn
- Bevy SpriteBundle, Sprite Sheet (SpriteAtlas)
- Bevy Timesteps, Time, and Timer
- Bevy custom system criteria
- Indirection strategy to spawn explosions
- Sprite Sheet atlas for sprite animations
- Basic Rust Programming
- Rust module
- Rust closure
- Rust matches
Resources:
- Rust:
- Bevy:
- Assets:
Dependencies
~21–30MB
~475K SLoC