Skip to content
Public template

About

Bevy 2D starter with physics, prediction, interpolation, and reproducible Nix tooling

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

template-bevy

Bevy game template logo

Bevy 0.19.1 Rust 1.99 MIT

A Bevy game starter with Rapier physics. Choose 2D, 3D, or both; add networking, Blender/Skein assets, MCP inspection, and browser support during generation. WGSL shader materials are included in every generated game. Cargo works independently of Nix.

cargo install cargo-generate --version 0.25.0 --locked
cargo generate --git https://github.com/sagan-software/template-bevy \
  --name my-game --no-workspace --allow-commands
cd my-game
cargo xtask setup
cargo run -p my-game

The generation hook resolves the new project's Cargo lockfile. Install Rust and native libraries using Bevy's setup guide, or use nix develop for the pinned environment.

WASD or arrows move the player; Space boosts movement. Networking mode also supports the left gamepad stick and south button.

Networked 2D demo Movement in the networked 2D demo

The media shows this template's networked 2D demo. Generated projects receive starter media and their own README.

Development and checks · Architecture · Configuration · Blender assets · Shaders · Dependency compatibility

Build the public documentation with cargo xtask book. Run this repository's demo with cargo run -p template-bevy or nix run.

About

Bevy 2D starter with physics, prediction, interpolation, and reproducible Nix tooling

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages