//begin scrolling sequence
Effect.fade_in(2);
Camera.scroll_to(0, 945, 15);
- Sound.play("music/intro.ogg");
+ play_sound("music/intro.ogg");
wait(3);
Text.set_text("Somewhere at the shores\nof Antarctica...");
Text.fade_in(2);
Camera.scroll_to(3100, 945, 18);
wait(10);
logo.set_anchor_point(ANCHOR_TOP);
- logo.set_pos(0, 50);
+ logo.set_pos(0, 90);
logo.set_visible(true);
wait(5);
logo.set_visible(false);
//begin conversation and Tux rap
SUPERTUX.set_velocity(0,0);
- Sound.play("speech/tux_hello.ogg");
+ play_sound("speech/tux_hello.ogg");
wait(3);
- Sound.play("speech/penny_runt_01.ogg");
+ play_sound("speech/penny_runt_01.ogg");
wait(1);
- Sound.play("speech/tux_murp_01.ogg");
+ play_sound("speech/tux_murp_01.ogg");
wait(1);
RADIO.set_action("loud");
- Sound.play("speech/tux_rap.ogg");
+ play_sound("speech/tux_rap.ogg");
wait(15);
shake_bush();
wait(2);
//wake up, Tux...
Effect.fade_in(4);
wait(4);
- Sound.play("speech/tux_upset.ogg");
+ play_sound("speech/tux_upset.ogg");
wait(3);
tux_upset();
wait(1);
function shake_bush()
{
- //Sound.play("sounds/rustle.wav");
+ //play_sound("sounds/rustle.wav");
local bushx = BUSH.get_pos_x();
local bushy = BUSH.get_pos_y();
for(local i = 0; i < 20; ++i) {
- BUSH.set_pos(bushx + rand() % 6 - 3, bushy);
+ BUSH.set_pos(bushx + ( rand() % 6 ) - 3, bushy);
wait(0.05);
}
}