Skip to content

makeParticleEmitterSystem

makeParticleEmitterSystem<TCtx>(options?): SchedulableSystem<TCtx>

Defined in: src/modules/particles/particles.ts:336

Drive every ParticleEmitterDef: each tick advances its spawner and fires a burst (centred on the emitter’s current config.position) on each elapsed interval. Set the spawner’s active gate to pause emission (e.g. a jetpack only spouts exhaust while thrusting).

TCtx extends ParticleEmitterTickCtx

ParticleEmitterSystemOptions = {}

SchedulableSystem<TCtx>