0 Members and 1 Guest are viewing this topic.
.BA.MESSAGE ME IF.YOU DESERVE.CREDITClrDraw:ClrDrawr:GEtCalc("prgmPIC1",700)->Z[3004630A3E393404630B3E310463023E310463033E3004630C3E363304630D3F7E093F853F]->Str1Copy(Str1,Z,3737->S0->X->Y->A->NREpEat N=1PausE 500REpEat gEtKEy(9)If gEtKEy(15):1->N:EndIf X<95 and gEtKEy(3):X+1->X:PausE 30:EndIf Y>0 and gEtKEy(4):Y-1->Y:PausE 30:EndIf X>0 and gEtKEy(2):X-1->X:PausE 30:EndIf Y<62 and gEtKEy(1):Y+1->Y:PausE 30:EndDispGraphrClrDrawrPxl-On(X,Y)rPausE 1EndPxl-On(X,Y)If A=0E9C->{Z+S}:S+1->S:X->D:Y->ED->I:62-E->JEndIf A=1X->F:Y->GF->K:62-G->LLinE(D,E,F,G)EndFor(M,1,2)If M=1 and (A=0):I->H:EndIf M=2 and (A=0):J->H:EndIf M=1 and (A=1):K->H:EndIf M=2 and (A=1):L->H:EndIf H(</=)9:E30->{Z+S}:S+1->S:EndIf H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:EndIf H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:EndIf H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:EndIf H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:EndIf H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:EndIf H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:EndIf H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:EndIf H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:EndIf H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:EndIf H=0:E30->{Z+S}:EndIf H=1:E31->{Z+S}:EndIf H=2:E32->{Z+S}:EndIf H=3:E33->{Z+S}:EndIf H=4:E34->{Z+S}:EndIf H=5:E35->{Z+S}:EndIf H=6:E36->{Z+S}:EndIf H=7:E37->{Z+S}:EndIf H=8:E38->{Z+S}:EndIf H=9:E39->{Z+S}:EndS+1->SIf A=0 or ((A=1) and (M=1))E2B->{Z+S}:S+1->S:EndIf A=1 and (M=2):E3F->{Z+S}:1+S->S:EndEndA+1->AIf A=2:0->AEndEndCopy([3F3F3F3F3F3F3F3F],Z+S,8
.BA.MESSAGE ME IF.YOU DESERVE.CREDITClrDraw:ClrDrawrGetCalc("prgmPIC1",700)->ZCopy([3004630A3E393404630B3E3004630C3E363204630D3F7E093F853F],Z,27)27->S0->X->Y->A->N->T+1->BRepeat NPause 500Repeat getKey(54)getKey->CIf getKey(15):Copy([3F3F3F3F3F3F3F3F],Z+S,8:Return:EndWhile C>4 and (C(=/=)54):getKey->U:!If U:U->C:EndIf getKey(48) and (C=48)B+1->B:If B=3:1->B:End:EndClrHomeIf B=1:Text(5,5,"LINE":While getKey(48):End:EndIf B=2:Text(5,5,"CIRCLE":While getKey(48):End:EndPause 150EndIf B=1 or (B=2 and (T=1))If X<94 and getKey(3):X+1->X:Pause 30:End:EndIf B=1 or (B=2 and (T=2))If Y>0 and getKey(4):Y-1->Y:Pause 30:End:EndIf X>0 and getKey(2):X-1->X:Pause 30:EndIf Y<62 and getKey(1):Y+1->Y:Pause 30:EndDispGraphrClrDrawrPxl-On(X,Y)rPause 1EndIf B=1Pxl-On(X,Y)If A=0E9C->{Z+S}:S+1->S:X->D:Y->ED->I:62-E->JEndIf A=1X->F:Y->GF->K:62-G->LLine(D,E,F,G)EndFor(M,1,2)If M=1 and (A=0):I->H:EndIf M=2 and (A=0):J->H:EndIf M=1 and (A=1):K->H:EndIf M=2 and (A=1):L->H:Endsub(SUB)If A=0 or ((A=1) and (M=1))E2B->{Z+S}:S+1->S:EndIf A=1 and (M=2):E3F->{Z+S}:1+S->S:EndEndA+1->AIf A=2:0->AEndEndEndLbl SUB!If H/10->R:E30->{Z+S}:EndIf R=1:E31->{Z+S}:H-10->H:EndIf R=2:E32->{Z+S}:H-20->H:EndIf R=3:E33->{Z+S}:H-30->H:EndIf R=4:E34->{Z+S}:H-40->H:EndIf R=5:E35->{Z+S}:H-50->H:EndIf R=6:E36->{Z+S}:H-60->H:EndIf R=7:E37->{Z+S}:H-70->H:EndIf R=8:E38->{Z+S}:H-80->H:EndIf R=9:E39->{Z+S}:H-90->H:EndS+1->SIf H=0:E30->{Z+S}:EndIf H=1:E31->{Z+S}:EndIf H=2:E32->{Z+S}:EndIf H=3:E33->{Z+S}:EndIf H=4:E34->{Z+S}:EndIf H=5:E35->{Z+S}:EndIf H=6:E36->{Z+S}:EndIf H=7:E37->{Z+S}:EndIf H=8:E38->{Z+S}:EndIf H=9:E39->{Z+S}:EndS+1->SReturn
No code
ZStandard104→Xmax72→YmaxZInteger
ZStandard104→Xmax-72→YminZInteger
I think i'd prefer size in this position. After all its not like you need uber fast speed when resizing the windows
TROLL.J/k.Pretty good, nice job. Hope you can fix those bugs...EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.
Quote from: Deep Thought on September 28, 2010, 09:00:16 pmTROLL.J/k.Pretty good, nice job. Hope you can fix those bugs...EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.Well you have to remember it's only a fraction of a second faster.
Quote from: meishe91 on September 28, 2010, 09:10:20 pmQuote from: Deep Thought on September 28, 2010, 09:00:16 pmTROLL.J/k.Pretty good, nice job. Hope you can fix those bugs...EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.Well you have to remember it's only a fraction of a second faster. Yeah, but in games if you call it often enough even a fraction of a second make a huge difference