'K, I need help with getting a guy in my game to jump. Here's my code so far, details later.
Details: This is on a TI-84 SE, if it matters, I want C to become the "timer" for jumping if there needs to be one, and A is the hieght of the person.
Code:
:6->A
:14->B
:0->C
:8->D
:1->E
:0->F
:0->G
:0->H
:While F=0
:ClrHome
:Output(A,B,"()
:Output(7,1,"------ ----
:Output(E,3,"::::
:Output(D,7,"^^^^^^
:Getkey->G
:B+(G=26)-(G=24)->B
:If G=25 and H=0
:5->H
:If B≥16 or B≤0
:1->F
:If A=6
:Then
:If B≥1 and ≤6
:0->H
:If B≥12 and B≤16
:0->H
:End
:If B≥7 and B≤11 and H=0
:A+1->A
:If B≥6 and B≤12 and A=D-1
:1->F
:If H=/=0
:Then
:A-1->A
:H-1->H
:End
:End
:Clrhome
:Output(1,1,"