ok so the object is one guy chasing another. I want the second guy to jump by pressing the space bar. The thing that confounds me is that it works fine for a bit, but will stop working after a few seconds. It seems simple… the guy running is a mc. When space is pressed, it skips to a different frame in the mc (the jump animation).
I threw in the “jumpok” variable so once the jump animation starts it can’t be restarted till the guy lands.
Just thought I’d mention in the Animation/People/ Section of flashkit there’s a similar project where a woman is running and clicking the mouse she spazzes out and falls over… it reloops after completion… Walking lady
hmmm those seem to be done with buttons though… with a button you can make it so that only one frame is clickable, wheras with key input you can press a keyboard button at any time.
Of course that’s my non-educated opinion. I could be completely wrong.