Skip to main content

Module triggers

Module triggers 

Source
Expand description

Blood’s object messaging system: x-objects listen on receive channels (rx_id), change state when commanded (optionally animated over a busy time), and broadcast their own command on tx_id when reaching the on/off state.

Modules§

chan
Reserved channels.
cmd
sector_type

Structs§

Busy 🔒
Carry
Change of a moving sector’s transform during one update.
Event 🔒
Triggers
Xform
Placement of a moving sector relative to its map position: translation plus a rotation by ang radians around (cx, cy).

Enums§

Notice
Notifications for the game layer (sounds, messages, level flow).
Obj

Constants§

WALL_MOVE_FORWARD
Wall flags used by sliding sectors.
WALL_MOVE_REVERSE

Functions§

sector_folds 🔒
True when two non-adjacent edges of sector s cross, using wall positions pos.
time_units_to_ticks
Busy/wait times are stored in twentieths of a second; the game clock runs at 120 Hz.
wave
Interpolation curves for busy motion (Blood “waves”).