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
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.
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.
I Used both Impulse and Linear velocity to make Jump but my problem did not solved.
© Game Development or respective owner