I am currently making a small flood runner like game, I completed most of it, but I can't seem to get the jump action right. I got it to jump straight up and back down again, but it doesn't work when I use a left/right arrow key with it to perform a left/right jump.
The sprite goes straight up if I only press space.
What I want-
The sprites goes up and right or left when I press space while holding right or left.