Invincibility sparkles glow in the dark
[supertux.git] / data / levels / test / glow_effects.stl
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.ogg"   )                                                                                                                                                                                                                                                                                                                       
10
11                 (spawnpoint     (name   "main"  )
12                         (x      64      )(y     448     ))
13                 (spawnpoint     (name   "top"   )
14                         (x      656     )(y     288     ))
15
16
17                 (mrbomb (x      832     )(y     736     ))                                                                                                                                                                                                                                                                                              
18                 (short_fuse     (x      1056    )(y     736     ))                                                                                                                                                                                                                                                                                              
19                 (short_fuse     (x      1152    )(y     736     ))                                                                                                                                                                                                                                                                                              
20                 (short_fuse     (x      1248    )(y     736     ))                                                                                                                                                                                                                                                                                              
21                 (haywire        (x      928     )(y     736     ))                                                                                                                                                                                                                                                                                              
22                 (flame  (x      576     )(y     480     )(speed 0.2))
23                 (iceflame       (x      736     )(y     480     )(speed 0.2))
24                 (ghostflame     (x      656     )(y     160     ))
25     (kugelblitz (x 48 )(y 576 ))
26
27                 (tilemap        (name   "Interactive"   )                                                                                                                                                                                                                                                                                                               
28                         (z-pos  0       )(solid #t      )                                                                                                                                                                                                                                                                                               
29                         (width  42      )(height        30      )                                                                                                                                                                                                                                                                                               
30                         (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            
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               
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       ;       32
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       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       ;       64
34 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       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
35 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       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
36 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       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
37 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       ;       192
38 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       ;       224
39 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       ;       256
40 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       130     133     ;       288
41 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       129     133     ;       320
42 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       2817    0       1408    1388    0       2817    0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       1408    1412    1412    ;       352
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       ;       384
44 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       ;       416
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       ;       448
46 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
47 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
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       ;       544
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       ;       576
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       ;       608
51 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
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       0       0       ;       672
53 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       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
54 0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       0       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
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      ;       768
56 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
57 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
58 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
59 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
60 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
61                 ))                                                                                                                                                                                                                                                                                                                                      
62                                                                                                                                                                                                                                                                                                                                                         
63                 (candle (x      128     )(y     480     ))                                                                                                                                                                                                                                                                                              
64                 (candle (x      96      )(y     736     )(color 1       0       0       )(name  "red"   ))                                                                                                                                                                                                                                              
65                 (candle (x      320     )(y     736     )(color 1       0.5     0       )(name  "orange"        ))                                                                                                                                                                                                                                              
66                 (candle (x      544     )(y     736     )(color 1       1       0       )(name  "yellow"        ))                                                                                                                                                                                                                                              
67                 (candle (x      768     )(y     736     )(color 0       1       0       )(name  "green" ))                                                                                                                                                                                                                                              
68                 (candle (x      992     )(y     736     )(color 0       0       1       )(name  "blue"  ))                                                                                                                                                                                                                                              
69                 (candle (x      1216    )(y     736     )(color 0.5     0       0.5     )(name  "purple"        ))                                                                                                                                                                                                                                              
70                 (candle (x      1184    )(y     480     )(color 1       1       1       ))                                                                                                                                                                                                                                                              
71                                                                                                                                                                                                                                                                                                                                                         
72                 (candle (x      608     )(y     960     )(color 0.4     0.1     0       )(flicker       #f      ))                                                                                                                                                                                                                                              
73                 (candle (x      640     )(y     960     )(color 0.4     0.1     0       )(flicker       #f      ))                                                                                                                                                                                                                                              
74                 (candle (x      672     )(y     960     )(color 0.4     0.1     0       )(flicker       #f      ))                                                                                                                                                                                                                                              
75                 (candle (x      704     )(y     960     )(color 0.4     0.1     0       )(flicker       #f      ))                                                                                                                                                                                                                                              
76                                                                                                                                                                                                                                                                                                                                                         
77                 (candle (x      576     )(y     320     )(color 1       0.2     0.05    )(name  "torch1"        )(sprite        "images/objects/candle/torch/torch.sprite"      )(burning       #f      ))                                                                                                                                                                                                              
78                 (candle (x      736     )(y     320     )(color 1       0.2     0.05    )(name  "torch2"        )(sprite        "images/objects/candle/torch/torch.sprite"      )(burning       #f      ))                                                                                                                                                                                                              
79                                                                                                                                                                                                                                                                                                                                                         
80                 (switch (script "       red.set_burning(!red.get_burning());                                                                                                                                                                                                                                                                                                                    
81                                 wait(   0.1     );                                                                                                                                                                                                                                                                                                      
82                                 orange.set_burning(!orange.get_burning());                                                                                                                                                                                                                                                                                                                      
83                                 wait(   0.1     );                                                                                                                                                                                                                                                                                                      
84                                 yellow.set_burning(!yellow.get_burning());                                                                                                                                                                                                                                                                                                                      
85                                 wait(   0.1     );                                                                                                                                                                                                                                                                                                      
86                                 green.set_burning(!green.get_burning());                                                                                                                                                                                                                                                                                                                        
87                                 wait(   0.1     );                                                                                                                                                                                                                                                                                                      
88                                 blue.set_burning(!blue.get_burning());                                                                                                                                                                                                                                                                                                                  
89                                 wait(   0.1     );                                                                                                                                                                                                                                                                                                      
90                                 purple.set_burning(!purple.get_burning());      ")(sprite       "images/objects/switch/switch.sprite"   )                                                                                                                                                                                                                                                                                               
91                         (x      96      )(y     448     ))                                                                                                                                                                                                                                                                                              
92                                                                                                                                                                                                                                                                                                                                                         
93                 (switch (script "       torch1.set_burning(!torch1.get_burning());                                                                                                                                                                                                                                                                                                                      
94                                 torch2.set_burning(!torch2.get_burning());      ")(sprite       "images/objects/switch/switch.sprite"   )                                                                                                                                                                                                                                                                                               
95                         (x      1216    )(y     448     ))                                                                                                                                                                                                                                                                                              
96                 (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"   )                                                                                                                                                                                                                                                                                               
97                         (x      320     )(y     576     ))                                                                                                                                                                                                                                                                                              
98                                                                                                                                                                                                                                                                                                                                                         
99                 (bonusblock     (x      544     )(y     352     )(contents      "icegrow"       )(count 0       ))                                                                                                                                                                                                                                                              
100                 (bonusblock     (x      608     )(y     352     )(contents      "star"  )(count 0       ))                                                                                                                                                                                                                                                              
101                 (bonusblock     (x      704     )(y     352     )(contents      "1up"   )(count 0       ))                                                                                                                                                                                                                                                              
102                 (bonusblock     (x      768     )(y     352     )(contents      "firegrow"      )(count 0       ))                                                                                                                                                                                                                                                              
103
104     (willowisp (x 48 )(y 544)(spawnpoint "top" ))
105     (willowisp (x 1232 )(y 544)(spawnpoint "top" ))
106 ))