particles

Generate and configure Phaser 4 particle emitters with zones, gravity wells, and per-particle properties.

Updated Jun 21, 2021
One-click install
npx skills add https://github.com/mahirocoko/mahirocoko --skill particles-mahirocoko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: particles
Source: https://github.com/mahirocoko/mahirocoko/tree/main/plugins/phaser/skills/particles
Command: npx skills add https://github.com/mahirocoko/mahirocoko --skill particles-mahirocoko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creating rich, dynamic particle visuals in Phaser 4 often requires extensive boilerplate and debugging to coordinate emitters, zones, textures, and per-particle behavior.

Core Features & Use Cases

  • ParticleEmitter creation and configuration for flexible, real-time visuals in Phaser 4.
  • Support for emission zones (random, edge), death zones, gravity wells, textures, and per-particle properties (life, scale, alpha, tint, color).
  • Use cases include explosions, fire, smoke, glow effects, and trail visuals across game scenes.

Quick Start

Create a simple particle emitter in a scene with a texture and basic config and then tune emission to achieve the desired effect.

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 for explosion effects?

Create a Phaser 4 particle emitter by assigning a texture and configuring emission settings, then tune per-particle properties like life, scale, and alpha to achieve dynamic explosion visuals.

What are emission zones and death zones in Phaser 4 particle effects?

Emission zones in Phaser 4 define areas where particles spawn, supporting random or edge emission, while death zones specify regions where particles are immediately destroyed upon entering.

Can I use gravity wells to control particle movement in Phaser 4?

Yes, gravity wells are supported in Phaser 4 particle effects to influence and direct particle movement, allowing you to create dynamic visual behaviors like swirling or attracting particles.

How do I configure per-particle properties like tint and color for Phaser 4 particle emitters?

Configure per-particle properties for Phaser 4 particle emitters by adjusting life, scale, alpha, tint, and color settings within the emitter configuration to customize dynamic visual output.

Does this approach require specific textures for creating smoke and fire particle effects in Phaser 4?

Creating smoke, fire, and glow particle effects in Phaser 4 requires assigning textures to the particle emitter, which serves as the visual base for the configurable dynamic output.

What is the best way to handle particle callbacks for real-time visual updates in Phaser 4?

The best way to handle real-time visual updates is by using particle callbacks within the Phaser 4 particle emitter configuration to dynamically adjust per-particle behavior during emission.