more intro
[supertux.git] / data / levels / test / default.nut
1 /* Default functions for the whole levelset */
2
3 function intro()
4 {
5   SUPERTUX.set_action("stand-right");  
6   Tux.deactivate();
7   Tux.set_visible(false);
8   DisplayEffect.sixteen_to_nine(0);
9   DisplayEffect.fade_in(2);
10   Camera.scroll_to(0, 945, 15);
11   // Sound.play_music("music/intro.ogg");
12   wait(16);
13   SUPERTUX.set_velocity(50,0);
14   Camera.scroll_to(3000, 945, 18);
15   wait(10);
16   Text.set_text("SuperTux\n(Replace this with the title logo)");
17   Text.fade_in(2);
18   wait(5);
19   Text.fade_out(2);      
20   wait(20);
21   //SUPERTUX.set_velocity(0,0);
22   //wait(5);
23   Level.finish();
24 }
25