Returning a basic rectangle or circle from the spriteFunction in makeParticle() will cause an error. The error is also triggered if you don't provide a sprite function and rely on the default which returns g.circle(). It can be fixed by changing the code on line 2314 of plugins.js from:
if (particle.frames.length > 0) {
particle.gotoAndStop(randomInt(0, particle.frames.length - 1));
}
Returning a basic rectangle or circle from the spriteFunction in makeParticle() will cause an error. The error is also triggered if you don't provide a sprite function and rely on the default which returns g.circle(). It can be fixed by changing the code on line 2314 of plugins.js from:
to
This makes it possible to try out particle effects using simple built in primitives.