Pressing two keys at once
Hi, I'm new here and new to OpenGL. I'm doing a platform minigame and I want my character to jump while he's running. I have no idea on how to do this, what it does now is if i press the right cursor it moves to the right and if I press space to jump while holding the right cursor it stops walking and then jumps.
What can I do?
OpenGL is a graphics library and has no relation to anything non-graphics related, including input.
What OS are you using, and what API are you using (If any, yet) for input? GLUT? SDL? Win32?
What OS are you using, and what API are you using (If any, yet) for input? GLUT? SDL? Win32?
My first reply, Yes
Here is what your looking for I think,
????? OpenGL Multiple Keypresses ?????
Forum 4 above yours.
Here is what your looking for I think,
????? OpenGL Multiple Keypresses ?????
Forum 4 above yours.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement