particles

Create and configure Phaser 4 particle emitters with custom properties and callbacks.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/quochung-cyou/MissionSim --skill particles-quochung-cyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: particles
Source: https://github.com/quochung-cyou/MissionSim/tree/main/skills/particles
Command: npx skills add https://github.com/quochung-cyou/MissionSim --skill particles-quochung-cyou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phaser, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the need for generating and manipulating complex particle effects within the Phaser 4 game development framework, providing the tools to create dynamic visuals.

Core Features & Use Cases

  • Particle Emitter Configuration: Create custom emitters with properties for position, velocity, lifespan, and more.
  • Emission and Death Zones: Set up areas for particles to emit from and die in, with options for random or edge placement.
  • Custom Callbacks: Utilize callbacks for on-emit and on-death actions, allowing for intricate control over the particle lifecycle.
  • Use Case: Enhance game environments with realistic particle effects like fire, explosions, or smoke.

Quick Start

To add a simple particle effect, use the following code in your scene's create method: js add.particles(x, y, texture, config);

Frequently Asked Questions about particles

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

FAQPage Schema
How do I create particle effects in Phaser 4?

To create particle effects in Phaser 4, use the `add.particles(x, y, texture, config)` method within your scene's `create` logic to generate and manipulate dynamic visuals like fire or smoke.

How do I configure a particle emitter in Phaser for explosions and smoke?

Configure a Phaser particle emitter by defining properties for position, velocity, and lifespan. You can also specify emission and death zones with random or edge placement to control where explosions and smoke appear and disappear.

Can I trigger custom callbacks when particles emit or die in Phaser 4?

Yes, you can trigger custom callbacks on-emit and on-death in Phaser 4. This allows for intricate control over the particle lifecycle, enabling complex visual effect behaviors during emission and expiration.

Does this particle emitter configuration require the Phaser 4 engine?

Yes, this particle emitter configuration requires the Phaser 4 engine to manage and manipulate particles programmatically, ensuring dynamic visual effects integrate correctly within your game development environment.

What are emission and death zones used for in Phaser particle effects?

Emission and death zones in Phaser particle effects define specific areas where particles spawn and expire. They offer options for random or edge placement to precisely shape dynamic visual outputs like explosions.

Why use Phaser 4 for game particle effects instead of other game engines?

Phaser 4 provides programmatic control over particle effects, allowing direct configuration of emitter properties and custom lifecycle callbacks to generate realistic dynamic visuals tailored specifically for web game development.