Hey!
effect(function,number,position,velocity);
is the way the function is working right now. What if I want to have 1 or 2 additional variables that I want to pass to the effect function? Like the speed at which it should decrease it's alpha? It's possible to write multiple particle effects, off course, but each of them takes at least 2 functions, and it'd be much easier otherwise...
just an idea though...
Micha