What problem does it solve?
This Skill enables the design and implementation of event-driven reactive nodes within GECS, facilitating entity lifecycle management, query monitoring, and custom gameplay reactions.
Core Features & Use Cases
- Component Lifecycle Handlers: React to components being added or removed from entities, such as spawning or cleanup actions.
- Query State Monitors: Trigger specific callbacks when entities enter or leave certain states, supporting behaviors like targeting or status effects.
- Custom Gameplay Events: Subscribe to user-defined events emitted within the game to trigger game logic updates or UI responses.
- Relationship Events: Monitor changes in entity relationships, enabling dynamic targeting or hierarchy-based reactions.
Quick Start
Define observers that listen for component additions, query matches, or custom events, and implement your game logic within their callbacks to create responsive gameplay systems.