Question by
Skybric · Jan 26 at 12:40 PM ·
jumpjumpingplayer movementtouch controlscontrols
control jump height and jump number by touch
I want to make a simple jump controller for my Player. But by using the touchscreen. What is the easiest way, to make the player jump in a height, depending on how long the finger is pressed on the screen (let's say up to a maximum of 0.2 seconds). And then, when in air, subtract one of the let's say 3 possible jumps. When he gets back to the ground it all get's resetted. How do i do that?
Comment