1 | if (live_call()) |
2 | return global.live_result; |
3 | image_angle = direction; |
4 | if (image_alpha < 0.99) |
5 | { |
6 | image_alpha = lerp(image_alpha, 1, 0.25); |
7 | exit; |
8 | } |
9 | else |
10 | { |
11 | image_alpha = 1; |
12 | } |
13 | dir_inc = clamp(dir_inc + 0.05, 0, 2); |
14 | direction += dir_inc; |