15 releases (6 breaking)

new 0.6.0 Apr 28, 2024
0.5.0 Apr 16, 2024
0.4.0 Apr 14, 2024
0.3.0 Mar 13, 2024
0.0.1 Jan 29, 2024

#644 in Game dev

Download history 2/week @ 2024-01-29 32/week @ 2024-02-12 145/week @ 2024-02-19 788/week @ 2024-02-26 206/week @ 2024-03-04 158/week @ 2024-03-11 7/week @ 2024-03-18 31/week @ 2024-04-01 76/week @ 2024-04-08 204/week @ 2024-04-15 154/week @ 2024-04-22

465 downloads per month
Used in 4 crates

MIT/Apache

195KB
3.5K 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 here.

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.13 0.0.3 - master
0.12 0.0.1 - 0.0.2

Dependencies

~18–47MB
~745K SLoC