Particles.Arcade.Emitter#setXSpeed()

setXSpeed(min, max) → {Phaser.Particles.Arcade.Emitter}

A more compact way of setting the X velocity range of the emitter.

Parameters
Name Type Argument Default Description
min number <optional>
0

The minimum value for this range.

max number <optional>
0

The maximum value for this range.

Returns

This Emitter instance.

Source code: particles/arcade/Emitter.js (Line 711)
doc_phaser
2017-02-14 10:58:32
Comments
Leave a Comment

Please login to continue.