1 |
timer++; |
2 |
if (timer == 8) |
3 |
{ |
4 |
if (sprite_index == spr_gigaqueen_intro_round1) |
5 |
snd_play(snd_boxing_round1); |
6 |
if (sprite_index == spr_gigaqueen_intro_round2) |
7 |
snd_play(snd_boxing_round2); |
8 |
if (sprite_index == spr_gigaqueen_intro_round3) |
9 |
snd_play(snd_boxing_round3); |
10 |
} |
11 |
if (o_boxingcontroller.wireframe_boxing == 1) |
12 |
{ |
13 |
if (timer <= 30) |
14 |
y = EaseOutBounce(timer / 30, ystart + 60, ystart + 60, 1); |
15 |
} |
16 |
else if (timer <= 30) |
17 |
{ |
18 |
y = EaseOutBounce(timer / 30, ystart + 100, cameray() + 200, 1); |
19 |
} |
20 |
if (timer < 52) |
21 |
{ |
22 |
draw_self(); |
23 |
} |
24 |
else |
25 |
{ |
26 |
image_alpha -= 0.1; |
27 |
if (image_alpha < 0) |
28 |
instance_destroy(); |
29 |
xoffset[0] -= 3; |
30 |
yoffset[0] -= 4; |
31 |
xoffset[1] += 3; |
32 |
yoffset[1] -= 4; |
33 |
xoffset[2] += 3; |
34 |
yoffset[2] += 4; |
35 |
xoffset[3] -= 3; |
36 |
yoffset[3] += 4; |
37 |
for (i = 0; i < 4; i += 1) |
38 |
draw_sprite_ext(sprite_index, 1 + i, x + xoffset[i], y + yoffset[i], image_xscale, image_yscale, image_angle, c_white, image_alpha); |
39 |
} |