restore trunk
[supertux.git] / supertux / data / levels / test / default.nut
1 /* Default functions for the whole levelset */
2 print("default.nut loaded\n");
3
4 function intro_scene2()
5 {
6   //initialize
7   Camera.scroll_to(0, 945, 0);
8   SUPERTUX.set_action("stand-right");
9   SUPERTUX.set_visible(false);
10   NOLOK.set_visible(false);
11   Tux.deactivate();
12   Tux.set_visible(false);
13   Effect.sixteen_to_nine(0);
14   play_sound("music/nolok.ogg");
15   Effect.fade_in(5);
16   wait(5);
17   Camera.scroll_to(3100, 945, 8);
18   NOLOK.set_visible(true);  
19   NOLOK.set_velocity(500,0);
20   wait(8);
21   SUPERTUX.set_visible(true);
22   SUPERTUX.set_velocity(300,0);
23   wait(24);
24   Level.finish(true);
25 }
26