Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates and configures Phaser 4 particle effects, emitters, zones, and gravity wells.
83% 100%+17 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 19 of 23 without it.
I am creating a fire particle effect in Phaser that transitions through an array of colors [0xffffff, 0xffa500, 0xff0000]. I want the color transition timing to use a quadratic ease-out curve across particle lifespan. What configuration key specifies this interpolation ease?
Sets colorEase: 'quad.out' in the particle emitter configuration.
3 of 3 safety checks passed
Creating and controlling particle effects in Phaser 4 -- ParticleEmitter creation and configuration, emitter ops (value formats), gravity wells, emission and death zones, flow vs burst modes, following game objects, and particle callbacks.
Key source paths: src/gameobjects/particles/
Related skills: ../sprites-and-images/SKILL.md, ../loading-assets/SKILL.md
// In a Scene's create() method:
// Basic continuous emitter (flow mode)
const emitter = this.add.particles(400, 300, 'flares', {
frame: 'red',
speed: 200,
lifespan: 2000,
scale: { start: 1, end: 0 },
alpha: { start: 1, end: 0 },
gravityY: 150
});
// One-shot burst (explode mode)
const burst = this.add.particles(400, 300, 'flares', {
frame: 'blue',
speed: { min: 100, max: 300 },
lifespan: 1000,
scale: { start: 0.5, end: 0 },
emitting: false // don't auto-start
});
burst.explode(20); // emit 20 particles at once
ParticleEmitter extends GameObject and is added directly to the display list. It is both a game object (positionable, scalable, maskable) and the emitter itself. There is no separate manager -- this.add.particles() returns a ParticleEmitter instance.
Factory signature:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.