#bevy #engine #gamedev

app jeremychone-channel/invaders

Simple RUST game with the Bevy Engine

1 unstable release

0.3.0 Aug 8, 2022

#913 in Game dev

188 stars & 4 watchers

MIT/Apache

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:

Change log

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:




This repo

Dependencies

~17–27MB
~406K SLoC