~1 min read

Particle burst

Click anywhere to fire a one-shot explosion via the particle emitter's explode mode.

Particle burst Phaser 4 · sandboxed

Notes

  • emitting: false stops the emitter from spawning particles continuously, freeing you to fire bursts on demand.
  • emitParticleAt(x, y, count) spawns count particles immediately at the given world position.
  • blendMode: 'ADD' gives the bright “glow” look — switch to 'NORMAL' if you want crisper, less hot-looking particles.
  • The emitter itself lives at (0, 0) — particle positions are absolute since we override with emitParticleAt. For a follow-the-player trail, position the emitter and use the default emit-from-center behavior.
  • See the Particles guide for emitter zones, common recipes (smoke / explosion / trail), and performance.