Repository navigation
Releases
Releases · heygleeson/Sprinkle
🍩 Sprinkle v0.1.0
✨ 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).