created to teach natepiano how to code games, visualizations and simulations in bevy using rust. i started with this tutorial, added avian3d for physics as well as a few other dependencies you can find in cargo.toml. the goal is to make this fun, playable, and beautiful.
install rust (from https://www.rust-lang.org/tools/install)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shuse sccache to make follow on compiles faster as it will cache locally anything you've already built. this comes in handy if you get other projects that all need to compile with bevy or anything you commonly depend on in these projects
cargo install sccacheand to enable it globally create / edit your $HOME/.cargo/config.toml by adding this to it - make sure you're using your local path - on my system it is:
[build]
rustc-wrapper = ".cargo/bin/sccache"git clone https://github.com/natepiano/nateroidsrun it - the first time will take a while even if you have sccache installed as you have to populate the cache, n'est-ce pas? This will build a debug version and run it:
cargo runstart playing!
If you want to run it in release, you can do so by running:
cargo run --releaseIt might run faster on your machine. It will definitely be a smaller binary.