phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Some suggestions of new Particles class

Open rexrainbow opened this issue 2 years ago • 2 comments

  • Method emitter.addEmitZone accepts an array of zoneConfig, but only return a zone object.
    • Might remove array of zoneConfig supporting, or return zone object array.
  • Add a name property of emit zone, or death zone object, then user can remove zone by name.
  • Please add examples of using setAnim method.
  • Typo. ParticleEmitter.js, line 1465, 1466 : scale -> speed

rexrainbow avatar Apr 02 '23 10:04 rexrainbow

Bug report:

Test code, there are 2 curves

Case 1: Start and end point are at the same position, will emit particles at (0,0) Case 2: Start and end point are not at the same position, will emit particles along curve.

rexrainbow avatar Apr 05 '23 15:04 rexrainbow

addEmitZone now returns an array always and I fixed the scale speed typo.

photonstorm avatar Apr 12 '23 01:04 photonstorm

Forgot to close this one after making the beta changes.

photonstorm avatar Feb 21 '24 11:02 photonstorm