D
Denis Elias
Guest
Hi
I have that fancy laser beam shooting from my ship up to the end of the room with this code:
Alarm[0] is set to 30 frames for a fade out.
var i = y;
while (i! = 0)
{
draw_sprite_ext(spr_laser, 0, x, y-i ,1 , 1, 90, c_white, alarm[0]/30);
i -= 1;
}
Now I want to check for collisions with the drawn sprite. With my normal collision checks in the events, nothing is happening...
How do I get the collision event to notice that there is something?
I have that fancy laser beam shooting from my ship up to the end of the room with this code:
Alarm[0] is set to 30 frames for a fade out.
var i = y;
while (i! = 0)
{
draw_sprite_ext(spr_laser, 0, x, y-i ,1 , 1, 90, c_white, alarm[0]/30);
i -= 1;
}
Now I want to check for collisions with the drawn sprite. With my normal collision checks in the events, nothing is happening...
How do I get the collision event to notice that there is something?