air jumping

I need my character to be able to jump in the air (like flappy bird) but it always looses momentum every jump.

Timer,

keypress jump--------------and--------motion
jump=0------------------------/__-------jump=30

if jump min:1 max:30---------and----------add -1 to jump

Use servo control for motion if you’re using logic bricks, then set the x and y to 0 while setting the z to whatever force you want the character to jump at.