I'm working on getting a fighting game working and it's (or was) moving along nicely, but I've hit a snag.
I have four variables which I use for jumping: jumpForward, jumpBackward, jumpStanding and doubleJump
The idea is that if any of them, except doubleJump, is equal to 1, the player input is ignored and the player is moved forward, backward or not at all (depending which variable is at 1) until the character either jumps again or lands on ground, at which point the variables are set to 0.
Here's the problem, the variables are always set to 0. I've checked with the debugger and they don't change at all. Or if they do, they turn back to 0 too fast for it to be seen. This is not supposed to be and I can't seem to find any events that does this, aside from the 'on ground' event.
Here's the cap
http://www.box.net/shared/fxbi0mm7p8
The problem is in the 'testlevel' layout.