3 (name (_ "Glow Effects Test"))
5 (license "GPL 2 / CC-by-sa 3.0" )
7 (ambient-light 0.02 0.02 0.02 )
8 (camera (mode "normal" ))
9 (music "music/voc-dark.ogg" )
11 (spawnpoint (name "main" )
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 160 ))
23 (tilemap (name "Interactive" )
25 (width 42 )(height 30 )
26 (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
27 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
28 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
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 ; 64
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 ; 96
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 ; 128
32 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 ; 160
33 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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0 0 0 0 0 0 0 0 0 0 0 0 ; 544
45 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
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 ; 608
47 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
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 ; 672
49 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
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 48 48 ; 736
51 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
52 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
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 ; 832
54 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
55 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
56 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 (candle (x 128 )(y 480 ))
60 (candle (x 96 )(y 736 )(color 1 0 0 )(name "red" ))
61 (candle (x 320 )(y 736 )(color 1 0.5 0 )(name "orange" ))
62 (candle (x 544 )(y 736 )(color 1 1 0 )(name "yellow" ))
63 (candle (x 768 )(y 736 )(color 0 1 0 )(name "green" ))
64 (candle (x 992 )(y 736 )(color 0 0 1 )(name "blue" ))
65 (candle (x 1216 )(y 736 )(color 0.5 0 0.5 )(name "purple" ))
66 (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 ))
73 (candle (x 576 )(y 320 )(color 1 0.2 0.05 )(name "torch1" )(sprite "images/objects/candle/torch/torch.sprite" )(burning #f ))
74 (candle (x 736 )(y 320 )(color 1 0.2 0.05 )(name "torch2" )(sprite "images/objects/candle/torch/torch.sprite" )(burning #f ))
76 (switch (script " red.set_burning(!red.get_burning());
78 orange.set_burning(!orange.get_burning());
80 yellow.set_burning(!yellow.get_burning());
82 green.set_burning(!green.get_burning());
84 blue.set_burning(!blue.get_burning());
86 purple.set_burning(!purple.get_burning()); ")(sprite "images/objects/switch/switch.sprite" )
89 (switch (script " torch1.set_burning(!torch1.get_burning());
90 torch2.set_burning(!torch2.get_burning()); ")(sprite "images/objects/switch/switch.sprite" )
92 (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" )
95 (bonusblock (x 544 )(y 352 )(contents "icegrow" )(count 0 ))
96 (bonusblock (x 608 )(y 352 )(contents "star" )(count 0 ))
97 (bonusblock (x 704 )(y 352 )(contents "1up" )(count 0 ))
98 (bonusblock (x 768 )(y 352 )(contents "firegrow" )(count 0 ))