A bevy project for practicing purposes.
  • Rust 87.9%
  • Nix 12.1%
Find a file
2025-01-16 12:20:00 -08:00
.cargo chore: configure tracy aliases and unconfigure cranelift 2025-01-14 09:54:17 -08:00
art chore: redesign the look the UI buttons 2025-01-16 12:20:00 -08:00
assets chore: redesign the look the UI buttons 2025-01-16 12:20:00 -08:00
nix feat(nix): add blenvy derivation 2024-12-16 06:02:29 +01:00
src chore: redesign the look the UI buttons 2025-01-16 12:20:00 -08:00
.envrc feat(nix): add nix flake dev shell (#13) 2024-12-11 21:52:27 +01:00
.gitattributes feat(git): use lfs for binaries 2024-12-11 22:13:57 +01:00
.gitignore feat(nix): add nix flake dev shell (#13) 2024-12-11 21:52:27 +01:00
Cargo.lock chore: refactor ui buttons to be reusable 2025-01-15 14:48:25 -08:00
Cargo.toml chore: refactor ui buttons to be reusable 2025-01-15 14:48:25 -08:00
CHANGELOG.md chore: add reflect feature to Cargo.toml 2024-12-16 08:52:28 -08:00
cliff.toml chore: update and implement a lot of dependencies to bevy 0.15 2025-01-09 12:24:23 -08:00
flake.lock feat(nix): add blenvy derivation 2024-12-16 06:02:29 +01:00
flake.nix feat(nix): add blenvy derivation 2024-12-16 06:02:29 +01:00
LICENSE-APACHE chore: add Apache 2.0 and MIT license 2024-12-10 18:31:49 -08:00
LICENSE-MIT chore: add Apache 2.0 and MIT license 2024-12-10 18:31:49 -08:00
README.md docs(README): fix dead link to blend file in README.md 2025-01-14 13:40:39 -08:00
rust-toolchain.toml chore: project setup 2024-10-17 19:33:39 -07:00

gaming

A bevy project for practicing purposes.

Prerequisites

Git LFS

After git cloning, if the output warns about encountering files that should have been pointers, but weren't, run the following git lfs commands while inside the root of the repo directory.

git lfs install
git lfs pull

Cranelift

If you don't know what Cranelift is and don't intend to use it, then this section can be skipped.

On Windows, Cranelift can cause a STATUS_ACCESS_VIOLATION runtime error on the GPU. On Linux, Cranelift can fail to compile for release builds. For these reasons, Cranelift is currently not configured to be used. In order to use Cranelift, do the following:

rustup component add rustc-codegen-cranelift-preview --toolchain nightly

Add the following under the target table of choice in config.toml.

"-Zcodegen-backend=cranelift"

Windows only

cargo install -f cargo-binutils
rustup component add llvm-tools

Blender

Blender is used for creating assets and blenvy is a blender extension for integrating the workflow between blender and bevy. Blenvy currently only supports Blender 4.2.

Open level_one.blend in Blender and follow Blenvy's Quickstart Guide to get started. Once all set up, saving in blender should auto export to bevy.

Where to start

Run cargo w to watch for changes, otherwise cargo r to run bevy. Before making commits, update the changelog with git-cliff by running git-cliff --unreleased --with-commit "chore: changed textures and stuff" -o CHANGELOG.md then make a commit as you normally would with the same content used in the --with-commit flag. This could be automated with CI/CD later.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.