Hmm, OK. Ive finally gotten the beams up and kicking,
but I need some clarification.
We'll start simple and work up from there please, for my sake as Im
new to particles in A7.
So you want multiple targets, with one solid beam each to start with right?
Try this
function effect_streak(PARTICLE* p)
{
VECTOR dir;
vec_set(dir.x, p.vel_x);
vec_sub(dir.x, p.x);
vec_set(p.vel_x, dir.x);
p.alpha = 60 + random(20);
p.bmap = barrier_tga;
p.size = 3;
set(p,TRANSLUCENT|BRIGHT|STREAK);
p.event = NULL;
p.lifespan = 25 + random(50);
}
//
//
function test_beam()
{
effect( effect_streak, 1, source.x, target.x );
}
The only part of your old stuff it uses is "barrier_tga"
Lemme know how it goes, then we'll move on to the next step.