Crate some_bevy_tools

source ·
Expand description

§Some bevy tools

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:

  • Automatic despawn after a period of time.
  • Automatic despawn of components on a state change.
  • Range component which keeps its value between a min and a max value and writes events if min or max was reached. For example it can be used for health to detect death.
  • Simplified processing of events on collisions in rapier.
  • Mapping of user inputs to custom events. (currently only keyboard events are supported for now)
  • Loading of assets on a loading state and storing them automatically in a resource using reflect.
  • Split screen support.
  • SBS support. It is basically a split screen which allows a sterioscopic view by using special hardware like XReal or Virture glasses.

Additionally, I try to document each module with at least one example. This should ensure that there are no accidential breaking changes.

Modules§

  • Loop a music on a specific position.
  • Tools which helps with 2D cameras.
  • Define some basic actions and keymapping to get started with 2D games quickly.
  • Module which contains tools which help to despawn entities.
  • Add health support for components.
  • User input handling.
  • Provides a range type as components.
  • Support for 3D output in SBS format for 3D glasses.
  • Provides split screen support.
  • Tools to support a third party camera.
  • A third party controller system for a third person camera.