What's the value of jumpCounter the first time this is run? If jumpCounter is less than one, then firstSwipe is set to true right away.
Can you state the problem again? You have some code that you don't want to run until after the firstSwipe and after the first jump? Then it sounds like you need a firstJumpDone or isJumping variable too.
__________________

Free Games!
|