Hi. First of all this problem i cant think of anything to fix it. ive looked at the command list and i cant fix it.
the problem is when i jump, i want it to fix the object to that movement. like , i can jump forward but magically float left when i press that key. is there a way i can disable that key when jumping? Im willing to put all those if statements to do that!??
`Space key Controls
IF SPACEKEY()=1 AND JUMPING#=0 THEN JUMP#=1
`JUMP Variable Definition
IF JUMP#=1
GROUND#=OBJECT POSITION Y(1)
JUMP_SPEED#=.25
JUMPING#=1
JUMP#=0
ENDIF
`Jumping
IF JUMPING#=1
DEC JUMP_SPEED#,.0045
POSITION OBJECT 1,OBJECT POSITION X(1),OBJECT POSITION Y(1)+JUMP_SPEED#, OBJECT POSITION Z(1)
IF OBJECT POSITION Y(1)<=GROUND# THEN JUMPING#=0
ENDIF
what is left behind is left behind, but what is ahead might make a difference to whats left behind.