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);
10 local logo = FloatingImage("images/objects/logo/logo.sprite");
12 Tux.set_visible(false);
13 DisplayEffect.sixteen_to_nine(0);
15 //begin scrolling sequence
16 DisplayEffect.fade_in(2);
17 Camera.scroll_to(0, 945, 15);
18 Sound.play("music/intro.ogg");
20 Text.set_text("Somewhere at the shores\nof Antarctica...");
25 SUPERTUX.set_velocity(50,0);
26 Camera.scroll_to(3100, 945, 18);
28 logo.set_anchor_point(ANCHOR_TOP);
30 logo.set_visible(true);
32 logo.set_visible(false);
35 //begin conversation and Tux rap
36 SUPERTUX.set_velocity(0,0);
37 Sound.play("speech/tux_hello.ogg");
39 Sound.play("speech/penny_runt_01.ogg");
41 Sound.play("speech/tux_murp_01.ogg");
43 RADIO.set_action("loud");
44 Sound.play("speech/tux_rap.ogg");
54 NOLOK.set_velocity(-220, 600);
55 NOLOK.set_visible(true);
56 DisplayEffect.fade_out(1.3);
60 NOLOK.set_visible(false);
61 PENNY.set_visible(false);
62 RADIO.set_action("quiet");
63 SUPERTUX.set_pos(3550, SUPERTUX.get_pos_y());
66 DisplayEffect.fade_in(4);
68 Sound.play("speech/tux_upset.ogg");
74 SUPERTUX.set_action("stand-right");
75 SUPERTUX.set_velocity(300,0);
79 DisplayEffect.fade_out(2);
86 //Sound.play("sounds/rustle.wav");
87 local bushx = BUSH.get_pos_x();
88 local bushy = BUSH.get_pos_y();
89 for(local i = 0; i < 20; ++i) {
90 BUSH.set_pos(bushx + rand() % 6 - 3, bushy);
97 SUPERTUX.set_action("stand-right");
98 SUPERTUX.set_velocity(200,0);
100 SUPERTUX.set_velocity(0,0);
102 SUPERTUX.set_action("stand-left");
103 SUPERTUX.set_velocity(-200,0);