glow_effects.stl 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. (supertux-level
  2. (version 2)
  3. (name (_ "Glow Effects Test"))
  4. (author "LMH")
  5. (license "GPL 2 / CC-by-sa 3.0" )
  6. (sector (name "main" )
  7. (ambient-light 0.02 0.02 0.02 )
  8. (camera (mode "normal" ))
  9. (music "music/voc-dark.music" )
  10. (spawnpoint (name "main" )
  11. (x 64 )(y 448 ))
  12. (spawnpoint (name "top" )
  13. (x 656 )(y 288 ))
  14. (mrbomb (x 832 )(y 736 ))
  15. (short_fuse (x 1056 )(y 736 ))
  16. (short_fuse (x 1152 )(y 736 ))
  17. (short_fuse (x 1248 )(y 736 ))
  18. (haywire (x 928 )(y 736 ))
  19. (flame (x 576 )(y 480 )(speed 0.2))
  20. (iceflame (x 736 )(y 480 )(speed 0.2))
  21. (ghostflame (x 656 )(y 96 ))
  22. (livefire (x 224 )(y 192 ))
  23. (livefire_asleep (x 64 )(y 192 )(direction "right"))
  24. (livefire_dormant (x 128)(y 192))
  25. (tilemap (name "Interactive" )
  26. (z-pos 0 )(solid #t )
  27. (width 42 )(height 30 )
  28. (tiles ; 160 192 224 256 288 320 352 384 416 448 480 512 544 576 608 640 672 704 736 768 800 832 864 896 928 960 992 1024 1056 1088 1120 1152 1184 1216 1248 1280 1312
  29. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  30. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 32
  31. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 64
  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; 416
  43. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 448
  44. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1408 1412 1412 1412 1412 1412 1412 1412 1412 1388 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 480
  45. 48 48 48 48 48 48 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 48 48 48 48 48 48 48 48 48 ; 512
  46. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 544
  47. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 576
  48. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 608
  49. 0 0 0 0 0 0 0 0 48 48 48 48 48 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 0 ; 640
  50. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 672
  51. 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 704
  52. 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 0 0 0 0 0 0 0 0 0 0 0 0 48 48 ; 736
  53. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 0 0 0 0 0 0 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 768
  54. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 0 0 0 0 0 0 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 800
  55. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 0 0 0 0 0 0 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 832
  56. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 0 0 0 0 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 864
  57. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 0 0 0 0 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 896
  58. 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 2136 2137 2138 2139 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 ; 928
  59. ))
  60. (candle (x 128 )(y 480 ))
  61. (candle (x 96 )(y 736 )(color 1 0 0 )(name "red" ))
  62. (candle (x 320 )(y 736 )(color 1 0.5 0 )(name "orange" ))
  63. (candle (x 544 )(y 736 )(color 1 1 0 )(name "yellow" ))
  64. (candle (x 768 )(y 736 )(color 0 1 0 )(name "green" ))
  65. (candle (x 992 )(y 736 )(color 0 0 1 )(name "blue" ))
  66. (candle (x 1216 )(y 736 )(color 0.5 0 0.5 )(name "purple" ))
  67. (candle (x 1184 )(y 480 )(color 1 1 1 ))
  68. (candle (x 608 )(y 960 )(color 0.4 0.1 0 )(flicker #f ))
  69. (candle (x 640 )(y 960 )(color 0.4 0.1 0 )(flicker #f ))
  70. (candle (x 672 )(y 960 )(color 0.4 0.1 0 )(flicker #f ))
  71. (candle (x 704 )(y 960 )(color 0.4 0.1 0 )(flicker #f ))
  72. (candle (x 576 )(y 320 )(color 1 0.2 0.05 )(name "torch1" )(sprite "images/objects/candle/torch/torch.sprite" )(burning #f ))
  73. (candle (x 736 )(y 320 )(color 1 0.2 0.05 )(name "torch2" )(sprite "images/objects/candle/torch/torch.sprite" )(burning #f ))
  74. (switch (script " red.set_burning(!red.get_burning());
  75. wait( 0.1 );
  76. orange.set_burning(!orange.get_burning());
  77. wait( 0.1 );
  78. yellow.set_burning(!yellow.get_burning());
  79. wait( 0.1 );
  80. green.set_burning(!green.get_burning());
  81. wait( 0.1 );
  82. blue.set_burning(!blue.get_burning());
  83. wait( 0.1 );
  84. purple.set_burning(!purple.get_burning()); ")(sprite "images/objects/switch/switch.sprite" )
  85. (x 96 )(y 448 ))
  86. (switch (script " torch1.set_burning(!torch1.get_burning());
  87. torch2.set_burning(!torch2.get_burning()); ")(sprite "images/objects/switch/switch.sprite" )
  88. (x 1216 )(y 448 ))
  89. (switch (script " settings.set_ambient_light((settings.get_ambient_red() + 0.14 > 1) ? 0.02 : settings.get_ambient_red() + 0.14 , (settings.get_ambient_green() + 0.14 > 1) ? 0.02 : settings.get_ambient_green() + 0.14 , (settings.get_ambient_blue() + 0.14 > 1) ? 0.02 : settings.get_ambient_blue() + 0.14 ); ")(sprite "images/objects/switch/switch.sprite" )
  90. (x 320 )(y 576 ))
  91. (bonusblock (x 544 )(y 352 )(contents "icegrow" )(count 0 ))
  92. (bonusblock (x 608 )(y 352 )(contents "star" )(count 0 ))
  93. (bonusblock (x 704 )(y 352 )(contents "1up" )(count 0 ))
  94. (bonusblock (x 768 )(y 352 )(contents "firegrow" )(count 0 ))
  95. (willowisp (x 48 )(y 544)(spawnpoint "top" ))
  96. (willowisp (x 1232 )(y 544)(spawnpoint "top" ))
  97. (powerup (x 0 )(y 320 )(sprite "images/powerups/iceflower/iceflower.sprite" ))
  98. (powerup (x 0 )(y 480 )(sprite "images/powerups/fireflower/fireflower.sprite" ))
  99. (weak_block (x 0 )(y 352 )(linked #f ))
  100. (weak_block (x 32 )(y 352 ))
  101. (weak_block (x 64 )(y 352 ))
  102. (weak_block (x 96 )(y 352 ))
  103. (weak_block (x 128 )(y 352 ))
  104. (weak_block (x 160 )(y 352 ))
  105. (magicblock (x 416 )(y 224 )(color 1 1 1 ))
  106. (magicblock (x 448 )(y 224 )(color 1 1 1 ))
  107. (magicblock (x 480 )(y 224 )(color 1 1 1 ))
  108. (magicblock (x 512 )(y 224 )(color 1 1 1 ))
  109. (magicblock (x 544 )(y 224 )(color 1 1 1 ))
  110. (magicblock (x 576 )(y 224 )(color 1 1 1 ))
  111. (magicblock (x 608 )(y 224 )(color 1 1 1 ))
  112. (magicblock (x 640 )(y 224 )(color 1 1 1 ))
  113. (magicblock (x 672 )(y 224 )(color 1 1 1 ))
  114. (magicblock (x 704 )(y 224 )(color 1 1 1 ))
  115. (magicblock (x 736 )(y 224 )(color 1 1 1 ))
  116. (magicblock (x 768 )(y 224 )(color 1 1 1 ))
  117. (magicblock (x 800 )(y 224 )(color 1 1 1 ))
  118. (magicblock (x 832 )(y 224 )(color 1 1 1 ))
  119. (magicblock (x 864 )(y 224 )(color 1 1 1 ))
  120. (magicblock (x 896 )(y 224 )(color 1 1 1 ))
  121. ))