From: Marek Moeckel Date: Wed, 18 May 2005 16:24:11 +0000 (+0000) Subject: added a potion to see the effect of level-flipping on particle systems X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d101ca5904733b7b9091046fb1972bf65d1c311a;p=supertux.git added a potion to see the effect of level-flipping on particle systems (make sure you hurry to the right after drinking the potion!) oh, and to see the new particle system, simply change "particles-rain" to "particles-comets" SVN-Revision: 2515 --- diff --git a/data/levels/test/raintest.stl b/data/levels/test/raintest.stl index a7aa5f98c..228bee730 100644 --- a/data/levels/test/raintest.stl +++ b/data/levels/test/raintest.stl @@ -198,6 +198,31 @@ ) (particles-rain ) + (bonusblock (x 160) (y 160) + (contents "custom") + (powerup + (sprite "red-potion") + (script " +function wait(time) { + set_wakeup_time(time); + suspend(); +} + +DisplayEffect.set_black(true); +wait(0.1); +DisplayEffect.set_black(false); +wait(0.07); +DisplayEffect.set_black(true); +wait(0.11); +DisplayEffect.set_black(false); +wait(0.09); +DisplayEffect.set_black(true); +wait(0.6); +Level.flip_vertically(); +DisplayEffect.fade_in(1); +") + ) + ) ) )