Skip to main content

Crate wyrd_bevy

Crate wyrd_bevy 

Source
Expand description

Thin Bevy 0.19 bridge for Wyrd — no graph topology on Entities.

Host tick order: WyrdSet::SampleWyrdSet::LoomWyrdSet::Apply. The plugin only drives loom; games own sample/apply systems. Bevy Messages (WyrdSignalConfirm) are post-apply VFX/UI confirmations — never Weave Threads. f32 signal path only.

Structs§

AndDoorBinding
Demo/test binding for the and-door sample (not a general host primitive). Resolve your own SenseId / HostPathId fields at setup for production games.
Door
Host-owned door state on an Entity (not a Wyrd Knot).
WyrdInstance
One bound Runtime. Host owns sampling and applying outbox.
WyrdInstanceId
Stable, opaque handle to an instance stored in WyrdWorld.
WyrdPlugin
Registers WyrdWorld, confirmation messages, ordered sets, and loom_all.
WyrdSignalConfirm
Confirmation that a SignalOut level was applied by the host (VFX/UI only).
WyrdWorld
All active Wyrd instances, addressed through stable generational handles.

Enums§

WyrdSet
Ordered host integration sets. Sample → Loom → Apply.

Functions§

apply_signal_bool
Apply a SignalOut level into a host bool, returning true if the value changed.
loom_all
Advance tick, clear outbox, loom every instance. Host systems write senses in WyrdSet::Sample and read outbox in WyrdSet::Apply.
set_sense_bool
Write ONE/ZERO into a sense port through its dense SenseId.
signal_truthy
Read truthy SignalOut by HostPathId.