Glitter Script V1

It seems like almost every project I am on I find the need to have little pieces of glitter, or floating things, or particles that are shooting out, so I decided to write this GlitterScript that can handle a bunch of different circumstances.

It isn’t perfect yet, but I wanted to post my progress. Basically you just put one of the glitterSpitters on the stage and then activate it with something like:

glitter1.startGlitter (10,1,360,3,400,1,150,100,0);

/* startGlitter (density[lower = more], startWidth, endAngle, speed, distance, startScale, endScale, startAlpha, endAlpha) */