1 | draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, 0, c_white, 1); |
2 | siner += 1; |
3 | draw_sprite_ext(spr_spidertelegram, image_index, x - 4, y - 2, 2, 2, sin(siner / 10) * 10, c_white, 1); |
4 | if (con == 0 && x < 570) |
5 | { |
6 | hspeed += 0.2; |
7 | if (hspeed >= 0) |
8 | { |
9 | hspeed = 0; |
10 | con = 1; |
11 | } |
12 | } |
13 | if (con == 2) |
14 | { |
15 | hspeed += 1; |
16 | if (x > 700) |
17 | instance_destroy(); |
18 | } |