1 | if fade_out |
2 | { |
3 | image_alpha = lerp(image_alpha, 0, 0.2) |
4 | if (image_alpha < 0.1) |
5 | { |
6 | instance_destroy() |
7 | return; |
8 | } |
9 | return; |
10 | } |
11 | image_alpha = lerp(image_alpha, image_alpha_max, 0.18) |
12 | if (image_alpha > (image_alpha_max - 0.01)) |
13 | image_alpha = image_alpha_max |