Particle

Class: Phaser.Particle

Constructor

new Particle(game, x, y, key, frame)

Create a new Particle object. Particles are extended Sprites that are emitted by a particle emitter such as Phaser.Particles.Arcade.Emitter.

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

x number

The x coordinate (in world space) to position the Particle at.

<