From d101ca5904733b7b9091046fb1972bf65d1c311a Mon Sep 17 00:00:00 2001 From: Marek Moeckel Date: Wed, 18 May 2005 16:24:11 +0000 Subject: [PATCH] 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 --- data/levels/test/raintest.stl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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); +") + ) + ) ) ) -- 2.11.0