1 | var flash_speed = 0.00125 |
2 | if (alpha_trend == 1) |
3 | { |
4 | if (draw_alpha < 0.15) |
5 | draw_alpha += flash_speed |
6 | else |
7 | alpha_trend = -1 |
8 | } |
9 | if (alpha_trend == -1) |
10 | { |
11 | if (draw_alpha > 0) |
12 | draw_alpha -= flash_speed |
13 | else |
14 | alpha_trend = 1 |
15 | } |