Creates reusable particle and impact-feedback effects for 3D Space Rocks with performance-aware defaults and gameplay event integration.
Use this skill to add or tune a reusable visual effect such as explosions, thruster trails, or impact flashes.
Document what gameplay event starts the effect and what player feedback it should provide.
Create a reusable effect function or class with explicit setup and teardown.
export interface EffectHandle {
start(): void;
stop(): void;
dispose(): void;
}
Use centralized constants for emission rate, color ramps, and lifetime.
Subscribe to gameplay events and trigger effects without embedding gameplay logic.
Verify the effect appears within immediate-feedback expectations and does not degrade FPS.
See docs/PRD.md for the full specification: