added radio sprite, turned the bush into a scripted object
[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   RADIO.set_action("quiet");  
7   PENNY.set_action("stand-left");
8   Tux.deactivate();
9   Tux.set_visible(false);
10   DisplayEffect.sixteen_to_nine(0);
11   DisplayEffect.fade_in(2);
12   Camera.scroll_to(0, 945, 15);
13   // Sound.play_music("music/intro.ogg");
14   wait(16);
15   SUPERTUX.set_velocity(50,0);
16   Camera.scroll_to(3000, 945, 18);
17   wait(10);
18   Text.set_text("SuperTux\n(Replace this with the title logo)");
19   Text.fade_in(2);
20   wait(5);
21   Text.fade_out(2);
22   wait(6);
23   SUPERTUX.set_velocity(0,0);
24   RADIO.set_action("loud");
25   wait(10);
26   Level.finish();
27 }
28