gaia-actions
Installation
SKILL.md
Actions and Action Bindings with @pmndrs/viverse
Actions decouple inputs from game logic. Bindings translate hardware events into actions that systems consume each frame.
Input → Binding → Action → Game Logic
Action Types
- StateAction – Persistent state (movement, running). Multiple writers merge into one value via
.get(). - EventAction – One-shot events (jump, fire). Emitted via
.emit(), consumed via.subscribe().