Skip to content

Releases

🍩 Sprinkle v0.1.0

Choose a tag to compare

@heygleeson heygleeson released this 05 Jan 11:03
fa6c122

✨ First release! ✨

  • Covers all native functions for ParticleSystems, ParticleEmitters and ParticleTypes
  • Extensive JSDoc documentation is included for every method, hopefully making it straight-forward to understand and use.

Additions:

  • Emitter: .position(x,y) - specify a "point" region for an emitter.
  • System: .clearParticles() - clear all associated 'alive' particles.
  • System: .destroyEmitters() - destroy all associated emitters.

Notes:

  • Type: speed(), direction(), gravity() are currently non-static methods (due to a compiler bug).