Background can now render three images: Top, Center and Bottom
[supertux.git] / data / levels / test / default.nut
index 6c72200..53a21c3 100644 (file)
@@ -104,3 +104,26 @@ function tux_upset()
   wait(0.3);
 }
 
+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);
+  Sound.play("music/nolok.ogg");
+  DisplayEffect.fade_in(5);
+  wait(5);
+  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();
+}
+