ZXTape! 0Created by Spectaculatorè3D BRICK ³ ³ èµ ÿnç7:Ú7:Ù0:Ü0:Û0:Ý0:Þ0:ý:ño=ç:ñi=Ão:ço:ô23658j\,o:êcaps lock off õ¬4,7;Ù7;Úi;Üi;" ""3D"" BRICK BREAK ":õ''Ù3;" done by Eq for CSSCGC 2006":õ''" Hello. This is a bit like"''" Breakout but in three very"''" glorious dimensions."'''Ù2;" Keys: ";Ýi;"O";Ýo;" left, ";Ýi;"P";Ýo;" right." Zòo:ç7:û:ço:éb(5,8):ñsc=o:ñbat=13 :ñy=bat:ñx=15:ñdy=-i:ñdx=-i “õ¬i,i;"Wait ...";­31:ñc=i:ëj=iÌ5:ël=iÌ8:ñb(j,l)=c:ñc=c+i:ñc=c-((c-i)Æc=7):ól:ój:ël=iÌ8:í1e3è:ól:õ¬i,i;­10 3ñleft=5*8:í1020ü:êfirst draw ball +í1010ò:í1005í:êmove and draw bat Bí1020ü:í1030:í1020ü:êundraw, move and redraw ball wúleft=oËën=-60<Ì60<Í8:×.05|LÌÌÌ,n:ón:ì4:ênew set of bricks without resetting score or positions  ì10 çâ è0êdraw bricks for column l; each is 4 cells high éqúb(i,l)=oËëp=oÌ4:õ¬p+2,(l-i)*4;" ":óp:þ:êno bricks here: remove residue from last (top) one ê„ën=iÌ5:úb(n,l)>oËëp=iÌ4:õ¬i+n+p,(l-i)*4;Üp>(i);Úb(n,l);" ";:óp:õ¬n+i,(l-i)*4;Ú8;"____":ì1004ì ëKõ¬i+n+4,(l-i)*4;" ":êremove residue from any previous brick ìón:þ íêdraw the bat îKÞi:ën=13 Ì17:õ¬n,bat-2;" ";Üi;" ";Üo;" ":ón:Þo:þ òêmove the bat ó-ñj$=¦:új$="o"Æbat>3Ëñbat=bat-2:þ ô6új$="p"Æbat<32 -8-3Ëñbat=bat+2 õþ ücêdraw the ball at suitable size; its target position is y,x: y=13 for bat level, 8 for brick level ýñr=10 +2*(y-8):ñypx=192À-y*8:ñxpx=256-(32 -x)*8:êradius and y,x of top left (not centre) in pixels þ^ñypx=ypx-16:ñxpx=xpx-8:êfudge factor: this is all a big approximating hack anyway ÿØÜ8;Þi;xpx+r,ypx-r,r õ¬i,i;"score: ";sc:þ êmove the ball /ñx=x+dx:úx<2Ëñdx=-dx:ñx=x+dx:ì1033  $úx>32 -6Ëñdx=-dx:ñx=x+dx  'ñy=y+dy:úy=8Ëñdy=-dy:í1050  úy=13 Ëí1040:þ  iúy=15Ëí1020ü:×.6€™™™,-20:×.7€3333,-30:×.8€LÌÌÌ,-40(:â:êball got past bat  þ /êball at bat's level; check that it was caught cúbat< x+6Æbat+7ÈxËñdy=-dy:ñdx=º(¥*4)+i:×.04|#× =,18:×.02{#× =,18.3…fff þ êball hit bricks jñl= i+º(x/4):úl=7Æ¥>.5ÿÿÿËñl=8:êwe'd never get column 8 otherwise, since max x isÇ28 ¬ëj=5ÌiÍ-i:úb(j,l)>oËñb(j,l)=o:×.04|#× =,38&:×.02{#× =,40(:í1e3è:ñsc=sc+i:ñleft=left-i:ñj=o:ñn=99c:êcleared a brick, so exit both loops horribly ój þ 4