I've been looking at ways to incoporate a Sonic style jumping to my game, where the height/power of the jump is determined by how long the user touches the screen.
I found a helpful solution to this by MrGoatsnake here (remove the space between the slash next to https: and the space after www.) -
http:/ /www. scirra.com/forum/simulate-change-keyboard-buttons-to-touch-screen_t106759
This thing with this is when i tap the screen (mouse click in this case) the player does do a small jump, which is what i want but i don't like the way the jump occurs. When the player does the small jump, it looks as if it's hitting an invisible block and just coming straight back down (best way i could describe it ) When the player does a high jump by holding the jump button, the jump looks fine.
I would like to fix this jumping motion so that the small jump looks like a small jump rather than how i described it. Is there any way to do this?
I hope i've made it clear what i'm looking for, might be a bit confusing.
I've provided the capx file from that thread, credit goes to MrGoatsnake.