0 Members and 3 Guests are viewing this topic.
Copy(,,∗{Y₁}) ^ ERRORPARENTHESIS
Line({*xpos},{*ypos},+5,+5
Line(xpos,ypos,+5,+5
There is a major bug related to inline custom named vars: Code: [Select]Line({*xpos},{*ypos},+5,+5works fine whileCode: [Select]Line(xpos,ypos,+5,+5currupts the ram / crashes the calc(The star is the angle circle thing)
Fix 5ClrDraw^^R0->PITCH10-->XPOS20->YPOSREpeat getKey(41)ClrDrawIf getkey(1)PITCH<<32?PITCH++elseif getKey(4)PITCH>>-32?PITCH--endsin(PITCH-32)->Scos(PITCH-32)->CText(0,0,abs(PITCH)>DecLine(XPOS,YPOS,C-S//16+XPOS,S+C//16+YPOSDispGraphReturnL5->*XPOS+2->*YPOS+2->*PITCH+2->*THROTLE
The only thing that I see wrong is a bunch of syntax mistakes, which I guess you didn't directly copy and paste this from some IDE. If you move the last line to the top though, there doesn't seem to be any errors. It works perfectly fine when I tested it on wabbit. Here's a file that should work for what you have. Also, just some stuff, you should probably close your parenthesis since that doesn't make it faster or smaller, only improve readability, and use DispGraphClrDraw instead of them individually, makes it a lot faster.
One of the games I am creating runs fine with 1.2.2 but on 1.3.0 the the gravity function doesn't work.I am using pxltest for gravity and there is no complex physics just up or down (no velocity).I am using the S variable for remaining jump.
If compile any axe program with Axe 1.3, the calculator freeze
0 -> Y:For(X,0,2Y+Pxl-Test(25+Y,25)->YEnd
0 ->Y:For(X,0,2)Y + Pxl-Test(A+X-1,B+2) -> YEnd
Pxl-Test(A+X-1,B+2)+Y -> Y