It sounds like you need some more state variables - like playerJumpStep to tell you which frame of the jump you're on (1-5 for up, 6-10 for down maybe?) and firstSwipeDone (set it to false initially, set it to true when you detect a swipe). Once you have that info you can make decisions based on it.
__________________

Free Games!
|