I was wondering....Lets say your making a game and the character can jump up in the air by pressing the Up arrow.
Then lets say the character can fly by holding down the "J" key...but to move forward, backward, etc. while flying, the user must press the arrow keys while holding down the "J" key.
How do you handle input of the user holding down more than one key at once? It is easy to check for a certain key being pressed in the main game loop, but how do you check for multiple keys being held down at one time?
Anybody have any experience with it? Please share....