Particles
LittleJS Particle System
- Fast and flexible particle effects system
- ParticleEmitter spawns and manages lightweight Particle objects
- Particles support color gradients, fading, rotation, and scaling
- Physics simulation with velocity, gravity, and damping
- Collision detection with tile layers
- Additive blending for glowing effects
- Cone-based emission with randomization
- Particle design tool available for easy emitter creation
Typedefs
particle ParticletileData numberpos Vector2
- Returns
- true to stop the particle there; a callback that returns nothing lets it pass through