Hey im trying to make a 2d fighting game, like marvel vs capcom, and all those good ones. Anyhow im having problems binding the keys to do different animations, i can only make one animation, with every key,i want to make the upkey play a jump animation, but it will only play the run animation, just look at this and tell me what is wrong
load bitmap "sky.bmp"
load bitmap "sky.bmp",1
load music "overclocked.mid",1 : loop music 1
load bitmap "runner.bmp",2
load bitmap "runner.bmp",3
FOR y=0 to 1
FOR x=0 TO 6
GET IMAGE 1+x+(y*7),(x*89),(y*120),(x*89)+89,(y*120)+120
NEXT x
NEXT y
xpos=0
ypos=300
image=1
sync on
do
If Downkey()=1 then ypos=ypos+6 : If ypos>640 then ypos=-64
If Leftkey()=1 then xpos=xpos-4 : IF xpos>640 THEN xpos=-64
If Rightkey()=1 then xpos=xpos+6 : IF xpos>640 THEN xpos=-64
If rightkey()=1 then image=image+1 : IF image>12 THEN image=2
If mouseclick()=1 then xpos=xpos+12 : IF xpos>640 THEN xpos=-64
If mouseclick()=1 then image=image+1 : IF image>12 THEN image=2
If mouseclick()=2 then xpos=xpos-12 : IF xpos>640 THEN xpos=-64
sprite 1,xpos,ypos,image
SYNC : SLEEP 20
loop