0 Members and 1 Guest are viewing this topic.
Fix 3Text(X,Y,Str1X→ZWhile pxl-Test(Z,YZ+1→ZEndZ-X→ZFix 2Text(X,Y,Str1
This returns the height in Z, and draws the text in Str1 to the graph screen.
Since its inverted it works for space too right?
how would i implement gravity in axe? it doesn't have to be realistic, i just want to manage getting a sprite to jump up and down.i could easily implement this with some flag variables, but i'm really looking for a routine that only uses a few variables. Even just a starting point or hint would be helpful. So far, i can get a sprite to jump up, but it won't come back down.
.AAClrDraw[3C7EE7C3C3E77E3C->Pic10->V+55->YLine(0,63,95,63While getKey!=15If getKey(4) and (V=0) and pxl-Test(5,Y+85->VEndIf VV-1->VY-1->YEndIf Y>990->V->YEndPt-Change(5,Y,Pic1DispGraphPt-Change(5,Y,Pic1If (V=0) and (0=pxl-Test(5,Y+8Y+1->YEndPause 15End