1 /* Default functions for the whole levelset */
6 SUPERTUX.set_action("stand-right");
7 RADIO.set_action("quiet");
8 PENNY.set_action("stand-left");
9 NOLOK.set_visible(false);
11 Tux.set_visible(false);
12 DisplayEffect.sixteen_to_nine(0);
14 //begin scrolling sequence
15 DisplayEffect.fade_in(2);
16 Camera.scroll_to(0, 945, 15);
17 Sound.play("music/intro.ogg");
19 Text.set_text("Somewhere at the shores\nof Antarctica...");
24 SUPERTUX.set_velocity(50,0);
25 Camera.scroll_to(3100, 945, 18);
27 Text.set_text("SuperTux\n(Replace this with the title logo)");
33 //begin conversation and Tux rap
34 SUPERTUX.set_velocity(0,0);
35 Sound.play("speech/tux_hello.ogg");
37 Sound.play("speech/penny_runt_01.ogg");
39 Sound.play("speech/tux_murp_01.ogg");
41 RADIO.set_action("loud");
42 Sound.play("speech/tux_rap.ogg");
52 NOLOK.set_velocity(-180, 600);
53 NOLOK.set_visible(true);
54 DisplayEffect.fade_out(1.5);
58 NOLOK.set_visible(false);
59 PENNY.set_visible(false);
60 RADIO.set_action("quiet");
61 SUPERTUX.set_pos(3550, SUPERTUX.get_pos_y());
64 DisplayEffect.fade_in(4);
66 Sound.play("speech/tux_upset.ogg");
72 SUPERTUX.set_action("stand-right");
73 SUPERTUX.set_velocity(300,700);
77 DisplayEffect.fade_out(2);
84 //Sound.play("sounds/rustle.wav");
85 local bushx = BUSH.get_pos_x();
86 local bushy = BUSH.get_pos_y();
87 for(local i = 0; i < 20; ++i) {
88 BUSH.set_pos(bushx + rand() % 6 - 3, bushy);
95 SUPERTUX.set_action("stand-right");
96 SUPERTUX.set_velocity(200,0);
98 SUPERTUX.set_velocity(0,0);
100 SUPERTUX.set_action("stand-left");
101 SUPERTUX.set_velocity(-200,0);