OK, I'am making an auto runner infinite scroller type of game and everything seems to be going fine.
The only problem is that the player wouldn't jump unless his running animation(9 frames) reaches the first frame making it impossible to jump on time(which is primordial for this game). I noticed that because when I delete all the animations just keeping one frame, it jumps perfectly. How can I fix this?