Updateparticles works nicely for starting them away from the emitter, but addparticlesforce only sends them all down and to the right, doesn't "suck"them all towards the emitter.
Emitter Code:
Do
bombx#=getspritex(4)
bomby#=getspritey(4)
if getspritecollision(1,4)
playsound(4,100)
Explosion=createparticles(1,1)
SetParticlesPosition(explosion,bombx#, bomby#) //They spawn just fine with these coords as their center
setspritevisible(5,1)
setspriteposition(5,bombx#-(getspritewidth(4)*3-2),bomby#-(getspriteheight(4)*3-2))
setspritecoloralpha(5,255)
setspritecolorred(5,255)
setspritecolorgreen(5,255)
setspritecolorblue(5,255)
playsprite(5)
SetParticlesImage(Explosion,3)
setparticlessize (Explosion,5)
SetParticlesLife (Explosion,3)
SetParticlesFrequency( Explosion, 20000 )
SetParticlesMax( Explosion, 200 )
setparticlesdirection(Explosion,random(1,359),random(1,359))
SetParticlesColorInterpolation( Explosion ,1)
AddParticlesColorKeyFrame( Explosion , 0 , 255 , 255 , 255 , 255 )
AddParticlesColorKeyFrame( Explosion , 1 , 255 , 255 , 0 , 255 )
AddParticlesColorKeyFrame( Explosion , 2 , 255 , 0 , 0 , 255 )
AddParticlesColorKeyFrame( Explosion , 3 , 0 , 0 , 0 , 0 )
setparticlesvelocityrange(Explosion,0.03,0.03)
setparticlesdepth(Explosion,50)
updateparticles(explosion,2)
addparticlesforce(explosion,2,3,bombx#-(getspritewidth(4)*3-2),bomby#-(getspriteheight(4)*3-2)) //Roughly, center of Sprite(4), but they all follow the same direction and keep their shape, instead of "imploding" they simply move down and right, like gravity is wayyy down and right
SetSpriteVisible(4,1)
setspriteposition(4,random(5,95),random(5,95))
//setspritedepth(4,500)
setspriteshape(4,1)
endif
Sync()
Loop
-Writing programs for years, new to AGK2