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

11 lines
191 B
Plaintext
Raw Permalink Normal View History

2021-06-16 23:23:00 -07:00
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);