0 Members and 3 Guests are viewing this topic.
Repeat getkey(15)getkey->KinData(K,Number-Possibilities)->Nif N<9 + Ndo number stuffelseif getkey(whatever)do other stuffelseif getkey(whatever)do other stuffEndEnd
0->KRepeat K=15getkey->KinData(K,All Possibilities)->Nif N<9 + Ndo number stuffelseif N=whateverdo other stuffelseif N=whateverdo other stuffEndEnd
It's more like an editor, so I think getkey->K is good for this. But if I used both functions, would they still work both fine?
Data(33,34,26,18,35,27,19,36,28,20)->GDB0While 1getKey->KinData(K,GDB0)->r1EndIf r1
Ok I have a feeling I'd be able to firgure this out myself, but it would prolly take a while since I don't remember much from math Anyway, so I have a projectile flying at (S,T) with an angle, Z. If Z is zero it faces straight down, 256 degrees, etc.I have an enemy at, say, (X,Y). How would I check which side of the projectile the enemy is on (right or left), related to the projectile's angle?
Quote from: ztrumpet on December 31, 2011, 11:20:48 amData(33,34,26,18,35,27,19,36,28,20)->GDB0While 1getKey->KinData(K,GDB0)->r1EndIf r1Data(33,34,26,18,35,27,19,36,28,20,0)->GDB0While 1getKey->KinData(K,GDB0)->r1EndIf r1Fixed.
tan⁻¹(S-X,T-Y)-Z^256<128 should be true if the projectile needs to rotate in the positive direction.tan⁻¹(S-X,T-Y)-Ze0 is optimized but returns the opposite.
X-S*B-(Y-T*A)<<0
So [AA00AA00AA00AA0032BB32BB32BB32BB] is equivalent to [AA00AA00AA00AA00][32BB32BB32BB32BB]?
If two calculators were connected via linkport and both running Axe programs, and 1 calculator wrote 1 into the Port, and the other wrote a 2 into the port, what would each calculator read the port as?
I know the result can be determined by some sort of binary combination of the two numbers but I can't remember which.
:Text(X,Y,"Stuff"[sup]r[/sup]