Now my game can only fly exactly high because I used setLinearVelocity(0,-10) once player tap.
Check it out
https://itunes.apple.com/us/app/plat-boy/id658060959?mt=8But I want the hero in my game can fly higher when I press longer and fly not so high when I quickly tap.
Sorry for my English. Anyone can help me? Thanks.
Comments
Games: Android
The approach is the same.