Skip to content

1.5.0

Compare
Choose a tag to compare
@andrewstart andrewstart released this 25 Aug 03:33
· 290 commits to master since this release
  • 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().