added a potion to see the effect of level-flipping on particle systems
authorMarek Moeckel <wansti@gmx.de>
Wed, 18 May 2005 16:24:11 +0000 (16:24 +0000)
committerMarek Moeckel <wansti@gmx.de>
Wed, 18 May 2005 16:24:11 +0000 (16:24 +0000)
(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

index a7aa5f9..228bee7 100644 (file)
        )
        (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);
+")
+          )
+      )
    )
  )