@roost2d/effects
v0.3.0
Published
Renderer-neutral effect lifecycle and pooling utilities.
Readme
@roost2d/effects
Renderer-neutral timed effects, easing, shake, particles, trails, and pooling.
npm install @roost2d/effectsimport { scalePop } from '@roost2d/effects';
const effect = scalePop(target, 0.2, 180);
effect.update(deltaMs);Effects mutate small structural targets rather than importing a renderer. Recycle them with EffectPool, which is distinct from the general-purpose ObjectPool in @roost2d/core. Effects guide.
