In my game I have 2 jump types, the first jump is the short jump and the second is the long jump, when the screen touched, the player jump, but now I need to make the player long jump. I know how to do it, but I do not know how to do it using the GetRowTouch or PointerState function.
If I use GetPointerPressed()=1 for the short jump, and GetPointerState()=1 for the long jump, won't work, because the PointerPressed and PointerState are called in the same time, I do not need the player to do the short and long jump at the same time, I need just 1 type of jump each time
I found an solution, but this solution have problem:
I can use GetRawTouchType for this (1= short, 2= long), it is great!
but the problem is the GetRawTouchType()=2 are called only 1 second later... I need to be called when the touch are hold, wait 1 second for do the long jump won't work for me... How I can change this time? Why the AppGameKit don't use miliseconds???