ludum-dare-21/objects/obj_ef_bulletstrike/Draw_0.gml

11 lines
191 B
Plaintext

if distance_to_object(obj_player) > 425
exit;
draw_set_alpha(.5)
image_xscale -= .05;
image_yscale -= .05;
if image_xscale < 0
instance_destroy();
draw_self()
draw_set_alpha(1);