From: Marek Moeckel Date: Sun, 22 Jan 2006 19:34:54 +0000 (+0000) Subject: more intro X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bff63c7daf0745addeddee73d188dce83988b907;p=supertux.git more intro SVN-Revision: 3027 --- diff --git a/data/levels/test/default.nut b/data/levels/test/default.nut index 8555cbb0e..3525a4c23 100644 --- a/data/levels/test/default.nut +++ b/data/levels/test/default.nut @@ -2,6 +2,7 @@ function intro() { + SUPERTUX.set_action("stand-right"); Tux.deactivate(); Tux.set_visible(false); DisplayEffect.sixteen_to_nine(0); @@ -9,15 +10,16 @@ function intro() 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(); } diff --git a/data/levels/test/intro2.stl b/data/levels/test/intro2.stl index c60886784..cd40ab362 100644 --- a/data/levels/test/intro2.stl +++ b/data/levels/test/intro2.stl @@ -1,8 +1,8 @@ ;; 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()") @@ -189,12 +189,19 @@ (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) + ) ) )