Releases: pixijs/particle-emitter
Releases · pixijs/particle-emitter
1.5.1
- Changed Emitter.frequency to a getter/setter to allow for error checking, preventing it from being an invalid value.
1.5.0
- 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
anddist/modules/path-particle.js
, respectively. - Redid how custom particle classes interact with extra emitter data and art - if you have one, see
AnimatedParticle.parseArt()
andPathParticle.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 viaTexture.fromImage()
.
1.4.5
- The library now looks for PIXI V3 API before falling back to V2 to avoid deprecation warnings.
1.4.4
- The library should now work with pixi.js 3.0 as well as 2.x.
1.4.2
- Fixed an error in IE when using the non-minified build and using multiple Textures from different BaseTextures.
1.4.1
- 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
- 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
- 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
- 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
The warning given about different images now uses the correct library name.