0 Members and 3 Guests are viewing this topic.
.TEST.GFXClrDrawClrDraw[FFFFC3DBDBC3FFFF]→Pic0[FF9999FFFF9999FF]→Pic2[00FF00FF00FFFF00].MOV1[10107CBCBA282834]→Pic1.MOV2[10107CBCBA284466].MOV3[08083E3D5D14142C]→Pic9.MOV4[08083E3D5D142266].VARS0→J→Q→D→F→L20→X→Y.MAINLOOPWhile Q=0.GREYClrDrawPt-On(16,48,Pic2)Pt-On(32,48,Pic2)Pt-On(32,40,Pic2)DispGraphClrDraw.LVDRAWPt-On(16,40,Pic0Pt-On(32,32,Pic0Pt-On(0,56,Pic0Pt-On(8,56,Pic0Pt-On(16,56,Pic0Pt-On(24,56,Pic0Pt-On(32,56,Pic0Pt-On(40,56,Pic0Pt-On(48,56,Pic0Pt-On(56,56,Pic0Pt-On(64,56,Pic0Pt-On(72,56,Pic0Pt-On(80,56,Pic0Pt-On(88,56,Pic0.ANIMIf F>160→FEndIf F>8If D=1Pt-On(X,Y,Pic1+8ElsePt-On(X,Y,Pic9+8EndElseIf D=1Pt-On(X,Y,Pic1ElsePt-On(X,Y,Pic9EndEnd.KEY-QUITIf getKey(15)1→QEnd.KEY-LEFTIf (getKey(2)) and (pxl-Test(X-1,Y)=0) and (pxl-Test(X-1,Y+7)=0)X-1→X0→DF+1→FEnd.KEY-RIGHTIf (getKey(3)) and (pxl-Test(X+8,Y)=0) and (pxl-Test(X+8,Y+7)=0)X+1→X1→DF+1→FEnd.GRAVITYIf (J=0) and (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0)Y+1→YEndIf J>0If (pxl-Test(X,Y-1)=0) and (pxl-Test(X+7,Y-1)=0)Y-1→YEndJ-1→JEnd.KEY-JUMPIf getKey(54)If (pxl-Test(X,Y+9)=1) or (pxl-Test(X+7,Y+9)=1)16→JEndEndDispGraphEndPause 1000
Code: [Select].TEST.GFXClrDrawClrDraw[FFFFC3DBDBC3FFFF]→Pic0[FF9999FFFF9999FF]→Pic2[00FF00FF00FFFF00].MOV1[10107CBCBA282834]→Pic1.MOV2[10107CBCBA284466].MOV3[08083E3D5D14142C]→Pic9.MOV4[08083E3D5D142266].VARS0→J→Q→D→F→L20→X→Y.MAINLOOPRepeat getKey(15).GREYClrDrawPt-On(16,48,Pic2)Pt-On(32,48,Pic2)Pt-On(32,40,Pic2)DispGraphClrDraw.LVDRAWPt-On(16,40,Pic0Pt-On(32,32,Pic0For(A,0,88)Pt-On(A,56,Pic0A+7->AEnd.ANIMIf F>160→FEndIf F>8If D=1Pt-On(X,Y,Pic1+8ElsePt-On(X,Y,Pic9+8EndElseIf D=1Pt-On(X,Y,Pic1ElsePt-On(X,Y,Pic9EndEnd.KEY-LEFTIf (getKey(2)) and (pxl-Test(X-1,Y)=0) and (pxl-Test(X-1,Y+7)=0)X--0→DF++End.KEY-RIGHTIf (getKey(3)) and (pxl-Test(X+8,Y)=0) and (pxl-Test(X+8,Y+7)=0)X++1→DF++End.GRAVITYIf (J=0) and (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0)Y++EndIf J>0If (pxl-Test(X,Y-1)=0) and (pxl-Test(X+7,Y-1)=0)Y--EndJ--End.KEY-JUMPIf getKey(54)If pxl-Test(X,Y+9) or (pxl-Test(X+7,Y+9)=1)16→JEndEndDispGraphEndPause 1000
.TEST.GFXClrDrawClrDraw[FFFFC3DBDBC3FFFF]→Pic0[FF9999FFFF9999FF]→Pic2[00FF00FF00FFFF00].MOV1[10107CBCBA282834]→Pic1.MOV2[10107CBCBA284466].MOV3[08083E3D5D14142C]→Pic9.MOV4[08083E3D5D142266].VARS0→J→Q→D→F→L20→X→Y.MAINLOOPRepeat getKey(15).GREYClrDrawPt-On(16,48,Pic2)Pt-On(32,48,Pic2)Pt-On(32,40,Pic2)DispGraphClrDraw.LVDRAWPt-On(16,40,Pic0Pt-On(32,32,Pic0For(A,0,88)Pt-On(A,56,Pic0A+7->AEnd.ANIMIf F>160→FEndIf F>8If D=1Pt-On(X,Y,Pic1+8ElsePt-On(X,Y,Pic9+8EndElseIf D=1Pt-On(X,Y,Pic1ElsePt-On(X,Y,Pic9EndEnd.KEY-LEFTIf (getKey(2)) and (pxl-Test(X-1,Y)=0) and (pxl-Test(X-1,Y+7)=0)X--0→DF++End.KEY-RIGHTIf (getKey(3)) and (pxl-Test(X+8,Y)=0) and (pxl-Test(X+8,Y+7)=0)X++1→DF++End.GRAVITYIf (J=0) and (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0)Y++EndIf J>0If (pxl-Test(X,Y-1)=0) and (pxl-Test(X+7,Y-1)=0)Y--EndJ--End.KEY-JUMPIf getKey(54)If pxl-Test(X,Y+9) or (pxl-Test(X+7,Y+9)=1)16→JEndEndDispGraphEndPause 1000
.TILEGetCalc("appvTileTemP",96)->WFor(A,0,95)rand^2+0->{W+A}End[0000000000000000]->Pic2[FFFFFFFFFFFFFFFF]ClrDrawFor(A,0,12)A*8->CFor(B,0,7)Pt-On(C,B*8,{B*12+A+W}+Pic2)EndEndDispGraphgetKey[sup]r[/sup]