bonusblock.stl 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. ;; Generated by Flexlay Editor
  2. (supertux-level
  3. (version 2)
  4. (name (_ "Bonus Block Test"))
  5. (author "SuperTux Team")
  6. (sector
  7. (name "main")
  8. (music "theme.ogg")
  9. (gravity 10.000000)
  10. (tilemap
  11. (z-pos 0)
  12. (solid #t)
  13. (speed 1.000000)
  14. (width 30)
  15. (height 30)
  16. (tiles
  17. 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61
  18. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  19. 61 0 0 0 0 0 0 0 0 0 0 0 62 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  20. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 62 0 0 0 0 0 0 0 62 0 0 61
  21. 61 0 0 0 0 0 62 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  22. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  23. 61 0 0 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 0 0 61
  24. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  25. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 62 0 0 0 0 61
  26. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  27. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 62 0 61
  28. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 62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 0 0 0 0 0 61
  45. 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 61
  46. 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61
  47. ))
  48. (camera
  49. (mode "normal")
  50. )
  51. (background
  52. (image "images/background/arctis.jpg")
  53. (speed 0.500000)
  54. )
  55. (powerup (x 135) (y 600) (sprite "images/powerups/egg/egg.sprite"))
  56. (spawnpoint (name "main") (x 33) (y 160))
  57. (infoblock (x 128) (y 800)
  58. (message (_ "-Info
  59. #Beware of these crazy
  60. #red potions.
  61. #Better seek for blue
  62. #potions."))
  63. )
  64. (bonusblock (x 96) (y 800)
  65. (contents "custom")
  66. (powerup
  67. (sprite "images/powerups/potions/red-potion.sprite")
  68. (script "
  69. Effect.set_black(true);
  70. wait(0.1);
  71. Effect.set_black(false);
  72. wait(0.07);
  73. Effect.set_black(true);
  74. wait(0.11);
  75. Effect.set_black(false);
  76. wait(0.09);
  77. Effect.set_black(true);
  78. wait(0.6);
  79. Level.flip_vertically();
  80. Effect.fade_in(1);
  81. ")
  82. )
  83. )
  84. (bonusblock (x 470) (y 96)
  85. (contents "custom")
  86. (powerup
  87. (sprite "images/powerups/potions/blue-potion.sprite")
  88. (script "
  89. Effect.fade_out(1);
  90. wait(1);
  91. Level.flip_vertically();
  92. Effect.fade_in(1);
  93. ")
  94. )
  95. )
  96. )
  97. )
  98. ;; EOF ;;