Creates a new Particle Emitter Manager Game Object and adds it to the Scene.
Note: This method will only be available if the Particles Game Object has been built into Phaser.
name | type | arguments | description |
---|---|---|---|
texture | string | Phaser.Textures.Texture |
The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager. |
|
frame | string | number | object | <optional> |
An optional frame from the Texture this Game Object is rendering with. |
emitters | Phaser.Types.GameObjects.Particles.ParticleEmitterConfig | Array.<Phaser.Types.GameObjects.Particles.ParticleEmitterConfig> | <optional> |
Configuration settings for one or more emitters to create. |
The Game Object that was created.