Pressing two keys at once

Started by
2 comments, last by CobyWalkerGames 15 years, 8 months ago
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?
Advertisement
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?
Winndows XP, and using GLut. BTW I'm using a console aplication.
My first reply, Yes
Here is what your looking for I think,

????? OpenGL Multiple Keypresses ?????
Forum 4 above yours.

This topic is closed to new replies.

Advertisement