123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- (supertux-level
- (version 2)
- (name (_ "Bonusblock Test"))
- (author "LMH")
- (license "GPL 2 / CC-by-sa 3.0" )
- (sector (name "main" )
- (ambient-light 1 1 1 )
- (camera (mode "normal" ))
- (init-script " lightson <- true; ")
-
- (spawnpoint (name "main" )
- (x 80 )(y 704 ))
-
- (tilemap (name "Interactive" )
- (z-pos 0 )(solid #t )
- (width 42 )(height 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 ; 64
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 544
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2943 0 0 0 2944 2945 0 0 0 0 0 0 0 0 ; 640
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 132 0 ; 704
- 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 48 8 ; 736
- 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 ; 768
- 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; 800
- 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; 832
- 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; 864
- 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; 896
- 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; 928
- ))
-
- (bonusblock
- (x 256 )
- (y 640 )
- (contents "coin" )
- (count 3 )
- )
-
- (bonusblock
- (x 384 )
- (y 640 )
- (contents "firegrow" )
- (sprite "images/objects/bonus_block/brick.sprite" )
- )
-
- (bonusblock
- (x 512 )
- (y 640 )
- (contents "1up" )
- (sprite "images/objects/bonus_block/hiddenbonus.sprite" )
- )
-
- (bonusblock
- (x 640 )
- (y 640 )
- (contents "script" )
- (script "
- vineA.goto_node(8);
- vineB.goto_node(8);
- vineC.goto_node(8);
- vineD.goto_node(8);
- vineE.goto_node(8);
- vineF.goto_node(8);
- vineG.goto_node(8);
- vineH.goto_node(8);
- ")
- )
-
- (bonusblock
- (x 768 )
- (y 640 )
- (contents "script" )
- (sprite "images/objects/bonus_block/hiddenbonus.sprite" )
- (count 0 )
- (script "
- if(lightson){
- lightson <- false;
- settings.set_ambient_light(0, 0, 0);
- cover.fade(0,0);
- } else {
- lightson <- true;
- settings.set_ambient_light(1, 1, 1);
- cover.fade(1,0);
- }
- ")
- )
- (candle (x 768 )(y 640 ))
-
- (tilemap (name "cover" )(alpha 1 )
- (z-pos -100 )(solid #f )
- (path (node (x 767 )(y 640 )) )
- (width 1 )(height 1 )
- (tiles 131 ))
- (tilemap
- (z-pos -200 )(solid #f )
- (path (node (x 767 )(y 640 )) )
- (width 1 )(height 1 )
- (tiles 61 ))
-
- (tilemap (name "vineA" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 ))
- (node (x 640 )(y 512 )(time 0.25 ))
- (node (x 640 )(y 480 )(time 0.25 ))
- (node (x 640 )(y 448 )(time 0.25 ))
- (node (x 640 )(y 416 )(time 0.25 ))
- (node (x 640 )(y 384 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2163 ))
- (tilemap (name "vineB" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 ))
- (node (x 640 )(y 512 )(time 0.25 ))
- (node (x 640 )(y 480 )(time 0.25 ))
- (node (x 640 )(y 448 )(time 0.25 ))
- (node (x 640 )(y 416 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- (tilemap (name "vineC" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 ))
- (node (x 640 )(y 512 )(time 0.25 ))
- (node (x 640 )(y 480 )(time 0.25 ))
- (node (x 640 )(y 448 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- (tilemap (name "vineD" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 ))
- (node (x 640 )(y 512 )(time 0.25 ))
- (node (x 640 )(y 480 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- (tilemap (name "vineE" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 ))
- (node (x 640 )(y 512 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2163 ))
- (tilemap (name "vineF" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 ))
- (node (x 640 )(y 544 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- (tilemap (name "vineG" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 ))
- (node (x 640 )(y 576 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- (tilemap (name "vineH" )
- (z-pos -50 )(solid #t )
- (path (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 640 )(time 0.25 ))
- (node (x 640 )(y 608 )(time 0.25 )) )
- (width 1 )(height 1 )
- (tiles 2162 ))
- ))
|