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_scale_increase |
8 | image_yscale += image_scale_increase |
9 | y += y_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 | } |