Crates.io | some_bevy_tools |
lib.rs | some_bevy_tools |
version | 0.2.4 |
source | src |
created_at | 2024-03-12 09:46:26.696081 |
updated_at | 2024-04-14 09:25:45.301369 |
description | A collection of tools which can be used in the Bevy Engine. |
homepage | https://github.com/neosam/some_bevy_tools |
repository | https://github.com/neosam/some_bevy_tools |
max_upload_size | |
id | 1170488 |
size | 245,023 |
This repo contains extensions for the great Bevy Engine. My goal is to have a crate which provides ECS stuff I regularly use in projects to save me time in future Bevy Game Jams. This crate tries to make the usage as simple as possible so the developer can focus on the main content of the game.
Currently supported features are:
Additionally, I try to document each module with at least one example. This should ensure that there are no accidential breaking changes.
Version | Bevy |
---|---|
0.1 | 0.13 |
0.2 | 0.13 |
Make sure to use these lines in your Cargo.toml
[dependencies]
bevy = "0.13.1"
some_bevy_tools = "0.2.1"
By default, all features are enabled to get you started quickly. To optimize the build, disable the default features and only use which is requied.
The core features of this crate are:
Feature | Description | Bevy features |
---|---|---|
audio_loop | Adds support for looping inside of audio files (usually music) | bevy_audio, bevy_asset |
loading | Load assets into resources using reflect. | bevy_asset |
split_screen | Enables split screen support using two cameras. | bevy_render |
sbs_3d | Allow 3D output using SBS (side-by-side) rendering. | bevy_render |
These features add bevy_rapier as dependency:
Feature | Description | Additional dependency |
---|---|---|
bevy_rapier2d | Simplify collision events | bevy_rapier2d |
bevy_rapier3d | Simplify collision events | bevy_rapier3d |
These are just features which enable a bunch of bevy features required to do usual stuff to get started quickly but do not enable all of the bevy features.
Feature | Description | Bevy features |
---|---|---|
audio_deluxe | Adds audio and audio file formats | bevy_audio, vorbis, bevy_asset |
display_minimum | Only what is required to display a window and process events | x11, bevy_winit |
display_deluxe | Enable features which allow to draw sprites or 3D objects | x11, bevy_winit, bevy_asset, bevy_render, bevy_sprite, png, bevy_pbr, tonemapping_luts |
all | Enable everything except for rapier | bevy_audio, vorbis, bevy_asset, x11, bevy_winit, bevy_asset, bevy_render, bevy_sprite, png, bevy_pbr, tonemapping_luts |
Definition: .github/workflows/ci.yaml
This workflow runs on every commit to main
branch, and on every PR targeting the main
branch.
It will use rust stable on linux, with cache between different executions, those commands:
cargo test
cargo clippy -- -D warnings
cargo fmt --all -- --check
If you are using anything OS specific or rust nightly, you should update the file ci.yaml to use those.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be triple licensed as above, without any additional terms or conditions.