Game or interactive application built with the Bevy engine.
- ๐ฎ Engine: Bevy 0.15+
- ๐งฉ ECS: Entity Component System (Bevy's core paradigm)
- ๐ฆ Assets: bevy_asset_loader for state-based loading
- ๐ฎ Game state management: Loading, Menu, InGame, Paused
- ๐ฆ Asset loading: Progress tracking with bevy_asset_loader
- โจ๏ธ Input handling: Abstracted input system
- ๐ท 2D camera setup: Swap for 3D as needed
- ๐ Strict Clippy lints: Pedantic linting enabled
- โก Optimized builds: LTO for release builds
- ๐ Fast dev compiles: Dynamic linking + LLD
src/
main.rs # Entry, app builder
states.rs # Game states
plugins/
mod.rs
loading.rs # Asset loading plugin
menu.rs # Menu plugin
game.rs # Core game plugin
components/ # ECS components
systems/ # ECS systems
resources/ # ECS resources
assets/
sprites/
audio/
fonts/
Cargo.toml
- bevy (default features for quick start)
- bevy_asset_loader
- rand (if needed)
States: Loading โ Menu โ InGame โ Paused
โ โ
โโโโโโโโโโ (back to menu)
cargo run # Dev build
cargo run --features dev # Dev with dynamic linking (fast recompiles)
cargo build --release # Release build
cargo test # Tests- Use
--features devduring development for faster iteration - The
.cargo/config.tomlenables LLD linker for faster linking - Release builds use LTO for maximum optimization
- Consider
bevy_embedded_assetsfor distribution
The code in this repository is licensed under MIT, ยฉ Omni LLC. See LICENSE.md for more information.