; bg (background) filename bg "bg.png" ; fg (foreground) filename fg null ; boardxy x y boardxy 100 0 ; tc (tetromino color) id alpha r g b tc 0 128 215 64 0 tc 1 128 59 52 255 tc 2 128 115 121 0 tc 3 128 0 132 96 tc 4 128 75 160 255 tc 5 128 255 174 10 tc 6 128 255 109 247 ; bricksize wh bricksize 12 ; bricksprite filename bricksprite "bricks.png" ; debriscolor colorid debriscolor 100 ; ghost alpha ghost 64 ; font id filename size font 0 "arcade.ttf" 7 ; box x y w h alpha r g b box 100 0 120 240 48 255 255 255 box 246 22 48 24 48 255 255 255 box 246 52 48 24 48 255 255 255 box 246 82 48 24 48 255 255 255 box 246 112 48 24 48 255 255 255 box 246 142 48 24 48 255 255 255 box 246 172 48 24 48 255 255 255 ; shape id x y centerx centery alpha shape 0 6 30 1 1 160 shape 1 6 60 1 1 160 shape 2 6 90 1 1 160 shape 3 6 120 1 1 160 shape 4 6 150 1 1 160 shape 5 6 180 1 1 160 shape 6 6 210 1 1 160 ; text fontid x y alignx aligny r g b string text 0 0 0 0 0 255 255 255 "Hiscore: $hiscore" text 0 0 7 0 0 255 255 255 "Score: $score" text 0 0 14 0 0 255 255 255 "Level: $level" text 0 0 21 0 0 255 255 255 "Lines: $lines" text 0 0 28 0 0 255 255 255 "Tetris: $tetris%" text 0 0 35 0 0 255 255 255 "FPS: $fps" ; bar x y w h var limit dir rl gl bl al rr gr br ar bar 64 38 28 7 $stat0 56 0 255 255 255 255 255 255 255 64 bar 64 68 28 7 $stat1 56 0 255 255 255 255 255 255 255 64 bar 64 98 28 7 $stat2 56 0 255 255 255 255 255 255 255 64 bar 64 128 28 7 $stat3 56 0 255 255 255 255 255 255 255 64 bar 64 158 28 7 $stat4 56 0 255 255 255 255 255 255 255 64 bar 64 188 28 7 $stat5 56 0 255 255 255 255 255 255 255 64 bar 64 218 28 7 $stat6 56 0 255 255 255 255 255 255 255 64 ;text 0 64 38 0 0 255 255 255 "$stat0" ;text 0 64 68 0 0 255 255 255 "$stat1" ;text 0 64 98 0 0 255 255 255 "$stat2" ;text 0 64 128 0 0 255 255 255 "$stat3" ;text 0 64 158 0 0 255 255 255 "$stat4" ;text 0 64 188 0 0 255 255 255 "$stat5" ;text 0 64 218 0 0 255 255 255 "$stat6" ; figure id x y centerx centery alpha figure 1 246 22 1 1 255 figure 2 246 52 1 1 255 figure 3 246 82 1 1 255 figure 4 246 112 1 1 255 figure 5 246 142 1 1 255 figure 6 246 172 1 1 255