function intro()
{
+ SUPERTUX.set_action("stand-right");
Tux.deactivate();
Tux.set_visible(false);
DisplayEffect.sixteen_to_nine(0);
Camera.scroll_to(0, 945, 15);
// Sound.play_music("music/intro.ogg");
wait(16);
- Camera.scroll_to(3200, 945, 19);
+ SUPERTUX.set_velocity(50,0);
+ Camera.scroll_to(3000, 945, 18);
wait(10);
Text.set_text("SuperTux\n(Replace this with the title logo)");
Text.fade_in(2);
wait(5);
Text.fade_out(2);
- wait(4);
-
wait(20);
+ //SUPERTUX.set_velocity(0,0);
+ //wait(5);
Level.finish();
}
;; Generated by Flexlay Editor
(supertux-level
(version 2)
- (name (_ "No Name"))
- (author "No Author")
+ (name (_ "Picnic With Penny"))
+ (author "SuperTux Team")
(sector
(name "main")
(init-script "intro()")
(particles-snow
)
(background
- (image "images/background/intro_background.png")
(top_color 0 0.85 1)
- (bottom_color 0 3.6 1)
+ (bottom_color 0 0.6 1)
(speed 1.000000)
)
- (spawnpoint (name "main") (x 96) (y 0))
+ (scriptedobject
+ (x 2300) (y 800)
+ (name "SUPERTUX")
+ (sprite "images/creatures/tux_big/tux.sprite")
+ (layer 100)
+ (visible #t)
+ (physic-enabled #t)
+ (solid #t)
+ )
)
)