> I didn't notice commercial had beam and streak until I turned it off and watched it a few times.
I didn't realize this either; the streak effects are subtle. Here's an example that really stretches the particles:
Code:
function part_4() {
my.alpha -= 5*time;
my.x += my.vel_x*time*0.3;
my.y += my.vel_y*time*0.3;
my.z += my.vel_z*time*0.3;
if(my.alpha<0) {
my.lifespan=0;
}
}
function effect_particle_4() {
vec_randomize(temp, 20);
vec_add(my.vel_x, temp);
vec_add(my.x, temp);
my.alpha = 75+random(25);
my.bmap = bitmap_electric; # Any bitmap will do.
my.flare = on;
my.bright=on;
my.streak = on;
my.move = off;
my.function = part_4;
my.size=10;
}
In another thread, JCL suggested moving particles independent of their velocities, since the streak effect is tied to vel_x, vel_y, and vel_z. Here, the particle's vel_x/y/z are larger than the actual speed so as to augment the smearing.
- Tesanders