I've designed a little animation that responds to key presses (a man running left or right).
For every frame, pressed key and released key are checked then the animation is updated according to keys.
So every loop, there's :
1 key check
The problem is that when I press a key, the man doesn't always start running immediately, and most of the time, when I release a key, it go on running several frames.
I'm running this program on the 3510i emulator. Is this response delay due to the emulator or am I doing something wrong???
If you have some code to show me, thank you in advance.