Featured answer
Give me an overview of bevy
Read the answerHide the answer
Bevy is a data-driven game engine written in Rust for building 2D and 3D games, organized around the Entity Component System paradigm. Application code starts from the App type in the public library entry point at src/lib.rs, where you create an App, add plugins such as DefaultPlugins, and call run to start the engine. The engine's features are split into small separate packages under the crates directory, covering areas such as cameras, transforms, visibility, sprites, input focus, logging and the remote inspector. By file count, the Application layer is the largest with 1540 files, followed by Docs & Tooling with 588 files, and the tools directory holds helper programs for examples, documentation, generated assets and tests. The examples directory holds runnable example programs, the benches directory contains Criterion benchmarks for the engine crates, and the .github directory configures how examples run in CI-like environments. To start reading, begin with src/lib.rs and the examples directory, then browse the crates directory for the subsystem you need.
| Layer | Files |
|---|---|
| CLI | 17 |
| Service | 18 |
| Types | 4 |
| Config | 34 |
| Utility | 24 |
| Application | 1540 |
| Docs & Tooling | 588 |
Basis: Inferred · knowledge graph· as of 46479b9