I followed Tutochau's tutorial on velocity jumps first, and got that working, then I followed episode two of his video tutorials. So then I had animations for walking left/right and jumping left/right. Then I changed some numbers in the jumping code until I was satisfied. But now I have a major issue, my character only jumps whenever he feels like it, it's like 50/50 chance of doing a jump, and I have no idea why. That's my main concern at this point

I also have some minor questions about animations. Right now my character only have the jumping animation when I hold the jump button, and if I'm jumping without moving it doesn't change at all. I'm not sure how to implement this, is it a good idea to use state variables?
I hope this isn't too much. I would just be happy if someone could point me in the right direction
