27 releases (12 breaking)

0.12.0 Aug 29, 2024
0.10.2 Jul 30, 2024
0.3.0 Mar 13, 2024

#770 in Game dev

Download history 146/week @ 2024-06-24 380/week @ 2024-07-01 33/week @ 2024-07-08 289/week @ 2024-07-15 19/week @ 2024-07-22 196/week @ 2024-07-29 160/week @ 2024-08-05 5/week @ 2024-08-12 306/week @ 2024-08-26 15/week @ 2024-09-02 16/week @ 2024-09-09 10/week @ 2024-09-16 34/week @ 2024-09-23 18/week @ 2024-09-30 9/week @ 2024-10-07

72 downloads per month
Used in 4 crates

MIT/Apache

215KB
4K SLoC

Bevy Cobweb

General-purpose reactivity framework for Bevy. Includes ECS utilities and core reactivity primitives (system events, reaction triggers, reactive events, and reaction tree processing).

Documentation for the reactivity primitives can be found in the react module.

Features

  • Manually run systems with SystemCommands.
  • React to ECS mutations: resource mutations, component insertions/mutations/removals, entity despawns.
  • React to events: broadcasted events and entity-targeted events.
  • Send data directly to systems with system events.
  • Write recursive system commands/system events/reactions.

Companion crates

Bevy compatability

bevy bevy_cobweb
0.14 0.8.0 - master
0.13 0.0.3 - 0.7.2
0.12 0.0.1 - 0.0.2

Dependencies

~24MB
~438K SLoC