(author "SuperTux Team")
(sector
(name "main")
- (music "forest.ogg")
+ (music "music/forest.ogg")
(gravity 10.000000)
(tilemap
(layer "background")
)
(background
- (image "forest1.jpg")
+ (image "images/background/forest1.jpg")
(speed 1.000000)
)
- (secretarea (x 673.0)
+ (init-script "level2_init();")
+ (secretarea (x 673.0)
(y 1090.0)
(width 24.0)
(height 19.0)
- (message "Drink me"))
- (powerup (x 3168) (y 416)
- (sprite (_ "eat-me"))
- (script "
-DisplayEffect.fade_out(1);
-wait(1);
-Level.flip_vertically();
-DisplayEffect.fade_in(1);
-")
- )
+ (message (_ "Drink me")))
+
+ (powerup (x 3168) (y 416)
+ (sprite "eat-me")
+ (script "levelflip();")
+ )
(bonusblock (x 672) (y 1056)
(contents "custom")
(powerup
- (sprite "red-potion")
- (script "
-DisplayEffect.fade_out(1);
-wait(1);
-Level.flip_vertically();
-DisplayEffect.fade_in(1);
-")
+ (sprite "potions/red-potion.sprite")
+ (script "levelflip();")
)
)
(powerup (x 8608) (y 1024)
- (sprite "red-potion")
- (script "
-DisplayEffect.fade_out(1);
-wait(1);
-Level.flip_vertically();
-DisplayEffect.fade_in(1);
-")
+ (sprite "images/powerups/potions/red-potion.sprite")
+ (script "levelflip();")
)
(powerup (x 9952) (y 416)
- (sprite "red-potion")
- (script "
-DisplayEffect.fade_out(1);
-wait(1);
-Level.flip_vertically();
-DisplayEffect.fade_in(1);
-")
+ (sprite "images/powerups/potions/red-potion.sprite")
+ (script "levelflip();")
)
(powerup (x 8000) (y 352)
- (sprite "gold-key")
- (script "wait(7);
- Level.finish();")
+ (sprite "images/objects/keys/key_gold.sprite")
+ (script "get_gold_key();")
+ (disable-physics #t)
)
(infoblock (x 2560) (y 320)
(message (_ "-Oh no!
(y 128.0)
(width 56.639892578125)
(height 83.8351440429688)
- (message "Eat me"))
+ (message (_ "Eat me")))
(infoblock (x 6208) (y 1280)
(message (_ "-Are you lost?"))
)