1 | if (image_alpha < 1 && fade == false) |
2 | { |
3 | image_alpha += 0.2 |
4 | if (image_alpha > 1) |
5 | image_alpha = 1 |
6 | } |
7 | image_xscale += image_xscale_increase |
8 | image_yscale += image_yscale_increase |
9 | x += x_speed |
10 | if (image_alpha > 0 && fade == true) |
11 | { |
12 | image_alpha -= 0.2 |
13 | if (image_alpha < 0) |
14 | image_alpha = 0 |
15 | if (image_alpha == 0) |
16 | instance_destroy() |
17 | } |