particles

Create and configure particle effects in Phaser 4 using ParticleEmitter, zones, and gravity wells.

2|10|Updated Jul 28, 2026
One-click install
npx skills add https://github.com/kodingvibes/gamejam-2026 --skill particles-kodingvibes
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: particles
Source: https://github.com/kodingvibes/gamejam-2026/tree/main/participantes/jpyunism/.agents/skills/particles
Command: npx skills add https://github.com/kodingvibes/gamejam-2026 --skill particles-kodingvibes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building particle effects like explosions, fire, smoke, and trails in Phaser 4 requires knowing the ParticleEmitter API, its flexible EmitterOp value formats, and zone systems, which are easy to misconfigure without a reference. ## Core Features & Use Cases - Emitter Creation and Configuration: Create flow or burst emitters with speed, scale, alpha, tint, color interpolation, and lifespan using flexible value formats like ranges, eases, and callbacks. - Zones and Processors: Spawn particles from random or edge emission zones, kill them with death zones, and apply gravity wells or custom particle processors. - Use Case: You want an explosion effect when an enemy dies. Create an emitter with emitting: false, call explode(30, x, y) on death, and use scale/alpha start-end easing so particles fade out over their lifespan. ## Quick Start Ask the AI to create a Phaser 4 particle explosion effect that bursts 30 fading particles at the position where an enemy is destroyed.

Frequently Asked Questions about particles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a particle emitter in Phaser 4?▼

Call this.add.particles(x, y, texture, config) inside a Scene's create method. It returns a ParticleEmitter game object directly, since the ParticleEmitterManager was removed in v3.60. Configure speed, lifespan, scale, and alpha in the config object.

How to make a one-shot explosion effect with Phaser particles?▼

Set emitting: false in the emitter config so it does not auto-start, then call emitter.explode(count, x, y) to emit a burst of particles at once. Alternatively, set frequency: -1 to put the emitter in explode mode.

Does Phaser 4 support particle emission zones and death zones?▼

Yes. Emission zones spawn particles from shapes using random or edge placement, and death zones kill particles entering or leaving a region. Sources use Phaser geometry objects like Circle, Rectangle, or custom objects with getRandomPoint, getPoints, or contains methods.

Why is my Phaser particle emitter not emitting particles?▼

Check that emitting is not false and frequency is not -1, which enables explode-only mode. Also verify the texture key is valid, since the emitter requires a loaded texture, and confirm active is true so the emitter updates.

How do I make particles follow a game object in Phaser?▼

Call emitter.startFollow(target, offsetX, offsetY, trackVisible) or set follow and followOffset in the emitter config. The emitter then tracks the target's position each frame, with optional visibility matching.