3 SUPERTUX.set_action("stand-right");
5 Tux.set_visible(false);
6 DisplayEffect.sixteen_to_nine(0);
7 DisplayEffect.fade_in(2);
10 Text.set_text(translate("Tux and Penny were out having a\n nice picnic on the\nice fields of Antarctica."));
12 // TODO play some tux sounds...
15 Sound.play("speech/tux_rap.ogg");
20 Text.set_text(translate("Then suddenly..."));
23 // let's shake the bush...
24 // Sound.play("sounds/rustle.wav");
25 local bushx = BUSH.get_pos_x();
26 local bushy = BUSH.get_pos_y();
27 for(local i = 0; i < 20; ++i) {
28 BUSH.set_pos(bushx + rand() % 6 - 3, bushy);
33 // NOLOK jumps out of the bush
36 NOLOK.set_velocity(70, 600);
39 NOLOK.set_velocity(-120, 700);
41 NOLOK.set_velocity(0, 0);
44 // nolok casts his spell...
45 NOLOK.set_action("throw");
46 // TODO we really need fade to white here and some thunder sound...
47 DisplayEffect.fade_out(0.3);
49 DisplayEffect.fade_in(0);
51 DisplayEffect.fade_out(0.5);
53 DisplayEffect.fade_in(0);
55 DisplayEffect.fade_out(0.2);
57 NOLOK.set_visible(false);
58 PENNY.set_visible(false);
59 DisplayEffect.fade_in(1);
62 Text.set_text("Oh No!\nPenny has been captured");
67 Text.set_text("Tux has to rescue her");
72 DisplayEffect.fade_out(2);