Original Post
Hi everyone,
I'm currently using enablekeyrepeat to move my sprite back and forth. This works fine except that I don't want to use keyrepeat for the sprite jumping (i.e. one keypress one jump). I understand that by changing the first parameter in the sdl_enablekeyrepeat to 0 it is disabled but, of course, this disables keyrepeat for the back and forth motion.
Any ideas on how to solve this would be great.
I'm currently using enablekeyrepeat to move my sprite back and forth. This works fine except that I don't want to use keyrepeat for the sprite jumping (i.e. one keypress one jump). I understand that by changing the first parameter in the sdl_enablekeyrepeat to 0 it is disabled but, of course, this disables keyrepeat for the back and forth motion.
Any ideas on how to solve this would be great.