What problem does it solve?
Creating and controlling particle effects in Phaser 4 to provide dynamic and polished visuals without writing repetitive boilerplate code.
Core Features & Use Cases
- ParticleEmitter basics: simple continuous emitters with speed, lifespan, gravity, and render order.
- Zones and death zones: emission zones (random and edge) and death zones to sculpt particle flows and confinement.
- Color, tint, and textures: color interpolation, frame selection, textures, and per-particle visuals.
- Advanced controls: gravity wells, particle processors, bounds, follow targets, and custom particle classes for complex behaviors.
- Use cases: spark trails, explosions, weather/ambient effects, and environmental visuals across game scenes.
Quick Start
Create a Phaser 4 scene, load a texture, and instantiate a ParticleEmitter with basic settings to start emitting particles immediately.