I am fairly new to corona and I am building an endless runner type game. Basically what I am trying to figure is when you touch the screen, if you touch is for a small amount of time the jump height will be small, but when you touch the screen for a longer period of time the jump height will be higher.
I looked but I did not find a function like this one the other forum post but I might have missed it. So if anybody could lead me in the right direction that would be greatly appreciated!
Dave