1 | hspeed = 2; |
2 | siner += 1; |
3 | x += sin(siner / 4); |
4 | y += cos(siner / 4); |
5 | if (image_xscale < 1) |
6 | image_xscale += 0.04; |
7 | if (image_yscale < 1) |
8 | image_yscale += 0.04; |
9 | if (siner > 60) |
10 | { |
11 | image_alpha -= 0.1; |
12 | if (image_alpha < 0.1) |
13 | instance_destroy(); |
14 | } |