Skip to content

Releases: pixijs/particle-emitter

1.5.1

14 Sep 14:10
Compare
Choose a tag to compare
  • Changed Emitter.frequency to a getter/setter to allow for error checking, preventing it from being an invalid value.

1.5.0

25 Aug 03:33
Compare
Choose a tag to compare
  • Finalized AnimatedParticle, and added 2 examples for it.
  • Split AnimatedParticle and PathParticle into their own modules, so you don't have to include them if you don't want to - if you do, include dist/modules/animated-particle.js and dist/modules/path-particle.js, respectively.
  • Redid how custom particle classes interact with extra emitter data and art - if you have one, see AnimatedParticle.parseArt() and PathParticle.parseData() for how it looks now.
  • The Emitter recognizes when it is using a PIXI.ParticleContainer and handles killing particles a little differently to play nicer with the ParticleContainer. Added an example to check how we are doing on pushing performance with ParticleContainer.
  • Converted the main arrays of particles to linked lists, which greatly improves performance, particularly when recycling particles.
  • If the art passed to Emitters includes strings instead of PIXI.Texture instances, the strings will be turned into Textures via Texture.fromImage().

1.4.5

22 Jun 14:35
Compare
Choose a tag to compare
  • The library now looks for PIXI V3 API before falling back to V2 to avoid deprecation warnings.

1.4.4

21 Apr 12:17
Compare
Choose a tag to compare
  • The library should now work with pixi.js 3.0 as well as 2.x.

1.4.2

02 Apr 17:02
Compare
Choose a tag to compare
  • Fixed an error in IE when using the non-minified build and using multiple Textures from different BaseTextures.

1.4.1

16 Mar 15:18
Compare
Choose a tag to compare
  • Reverted particle rotation behavior on Circle spawns, as that behavior could still be useful. If you want your particles to all go directly outwards from the center, use a Ring spawn with a minimum radius of 0.

1.4.0

16 Mar 14:29
Compare
Choose a tag to compare
  • Added the 'ring' spawn type, which is just a spawn circle with a minimum radius.
  • Particles spawned as rings or circles have their initial rotation affected by their position in the circle, so that barring any randomized rotation by your settings, they will all move away from the center of the spawn circle.

1.3.0

14 Dec 01:59
Compare
Choose a tag to compare
  • Added PathParticle, which follows a path defined by a mathematical expression (nothing fancy like waypoints).
  • Improved some aspects of making subclasses of Particle.

1.2.3

27 Oct 20:40
Compare
Choose a tag to compare
  • Fixed custom eases not being cleared when re-initializing an emitter.
  • Disabled the texture warning in release build of the library.
  • Added an experimental AnimatedParticle class. It probably works, although it hasn't gotten full testing, may change, and doesn't have any examples yet.

1.2.2

21 Oct 15:48
Compare
Choose a tag to compare

The warning given about different images now uses the correct library name.