1 | stoptimer = 1; |
2 | siner += 1; |
3 | x = -30 + abs(sin(siner / 9) * 105); |
4 | if (x >= 64) |
5 | siner -= 0.72; |
6 | if (x < 10) |
7 | stoptimer = 0; |
8 | if (x <= -8) |
9 | { |
10 | if (terminate == 1) |
11 | instance_destroy(); |
12 | } |