1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! # Some bevy tools
//!
//! This repo contains extensions for the great [Bevy Engine](https://bevyengine.org/). 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.