Single and Double Jump with single button.

Posted by Asad on Game Development See other posts from Game Development or by Asad
Published on 2012-11-07T11:50:57Z Indexed on 2012/11/07 17:19 UTC
Read the original article Hit count: 420

Filed under:
|
|

I want to make Single Jump on Single Tap and Double Jump on Double Tap. My problem is that if I make double Tap on ground then it’s fine but if I make first Tap on ground and second Tap in Air then Player gain more height then usual As in image 1.Image 1

I want to Make my jump like in Image 2, No matter from which point user gives second Tap, player Always get a specific height.Image 2

I Used both Impulse and Linear velocity to make Jump but my problem did not solved.

© Game Development or respective owner

Related posts about android

Related posts about box2d