/* Default functions for the whole levelset */
+print("default.nut loaded\n");
-function intro()
+function intro_scene2()
{
+ //initialize
+ Camera.scroll_to(0, 945, 0);
+ SUPERTUX.set_action("stand-right");
+ SUPERTUX.set_visible(false);
+ NOLOK.set_visible(false);
Tux.deactivate();
Tux.set_visible(false);
- DisplayEffect.sixteen_to_nine(0);
- DisplayEffect.fade_in(2);
- Camera.scroll_to(0, 945, 15);
- // Sound.play_music("music/intro.ogg");
- wait(16);
- Camera.scroll_to(3200, 945, 19);
- wait(10);
- Text.set_text("SuperTux\n(Replace this with the title logo)");
- Text.fade_in(2);
+ Effect.sixteen_to_nine(0);
+ play_sound("music/nolok.ogg");
+ Effect.fade_in(5);
wait(5);
- Text.fade_out(2);
- wait(4);
-
- wait(20);
- Level.finish();
+ Camera.scroll_to(3100, 945, 8);
+ NOLOK.set_visible(true);
+ NOLOK.set_velocity(500,0);
+ wait(8);
+ SUPERTUX.set_visible(true);
+ SUPERTUX.set_velocity(300,0);
+ wait(24);
+ Level.finish(true);
}