This is a template for a Bevy game.
- Install cargo-generate
- Run
cargo generate slowchop/bevy-template
- Hop into the new directory and run the project. Don't forget to use dynamic_linking for faster compile times.
cargo run --features bevy/dynamic_linking
- Check out the justfile for Wasm deployment things.
- Bevy 0.12.1!
- Wasm build using wasm-pack that can be deployed to itch.io and netlify.
- Contains a
justfile
(just) for building and deploying. - Everything is a Plugin!
- A basic GameState used throughout the template.
- A basic 2D character that moves around.
- Some AI generated placeholders that you should not use.
- Most things have a
Name
component for easier debugging. - Toggle fullscreen plugin.
- Asset loading using bevy_asset_loader.
- A splash/loading screen which loads assets first.
- UI DSL using bevy_ui_dsl.
- A very basic main menu.
- A very basic in game UI (TODO).
- A Quake style console using slowchop_console.
⚠️ slowchop_console
is brand new, don't use this for anything too important.
- Keyboard actions using leafwing-input-manager.
- Inspect your entities (via the P key) with bevy-inspector-egui.
- Music and sfx with bevy_kira_audio.
MIT or Apache-2.0, whichever you prefer.
Assets are generated by DALL-E 3 and are free to use, but please don't.