0 Members and 1 Guest are viewing this topic.
Mind adding the important parts in [code]-tags?
For(B,0,11For(A,0,19{B*20+A+GDB1}->TIf TT--Pt-On(A*8-(X//4)+44,B*8-(Y//4)+28,T*8+Pic2EndEndEnd
If getKey(55) (Controls speed of movement/rotation)11->SElse22->SEndIf getKey(2) (Turn Left)Z+S->ZIf Z>2550->ZEndEndIf getKey(3) (Turn Right)Z-S->ZIf Z<<0254->ZEndEndIf getKey(4) (Move forward)-sin(Z)//(264/S)+X->X-cos(Z)//(264/S)+Y->YEndIf getKey(1) (Move backward (slower))sin(Z)//(528/S)+X->Xcos(Z)//(528/S)+Y->YEnd
{B*20+A+GDB1}->T
If getKey(4) (Move forward)-sin(Z)//(264/S)+X->A-cos(Z)//(264/S)+Y->B{B*20+A+GDB1}->TIf TA->XB->YEndEnd