W
warbo
Guest
So i have gone and used the "Fake Light" examples in my game and i have got it all working but what i am struggling to do is create a new instance of this light on to a bullet when it is fired.
Currently i have it set up so it's on one bullet out of 5 fired.
What would i need to change to get it on all current "active" bullets
Currently i have it set up so it's on one bullet out of 5 fired.
HTML:
for (i=0; i<=bbb; i+=1)//Now we're looping through all our circles. From the larger to the smaller.
{
draw_circle(oPSpaceShip.x-view_xview[0], oPSpaceShip.y-view_yview[0], (aaa-(aaa/bbb*i)), false)
if(object_exists(oBullet)){
aaa=50
with (oBullet)
draw_circle(oBullet.x-view_xview[0], oBullet.y-view_yview[0], (aaa-(aaa/bbb*i)), false)
}
}