jumping in one direction

BlitzPlus Forums/BlitzPlus Programming/jumping in one direction

loonix(Posted 2015) [#1]
Hello all......

I have a little platform game im trying my hand at
and im looking at a couple of head scratchers
1st, you are moving left or right and you need to jump
ive got all that done and sorted but when your player is in mid air you can still change direction,,, i wanted to just be committed to jumping in the direction the player started off in..... been trying all sorts of checking flags ... tna

also im using an array to plot the different objects on the screen but im having an issue with landing on different ground surfaces when the player jumps on them just keeps going back to the original y pos

any help would be very much appreciated