Game Development Community

Input issue, read more than two keyboard keys simulatneously...

by Stephen Murrish · in Torque X 2D · 09/12/2007 (3:37 pm) · 2 replies

In the Torque X demos, I've noticed that when two keys are depressed a third will not be read. That is, many times you will have games where users will depress one keyboard key for forward and another to move right or left, and yet another to shoot and then another to jump.

I've noticed that when several keys are depressed simultaneously, the game will only read a limited number of keys. This is very limiting. Does this have something to do with the way input is handled by Torque X? Is there a way around it?

#1
09/12/2007 (4:22 pm)
This has nothing to do with Torque X. It's a limitation of the circuitry in the keyboard you're using. There are several gaming keyboards (Tarantula is one) that allow for multiple keys to be pressed simultaneously. On most normal keyboards there are exceptions. For example, the modifier keys (shift, ctrl, alt) can all be pressed and detected at the same time on most keyboards, which is why a lot of games' default configurations use them.
#2
09/12/2007 (5:21 pm)
Thank you for clarifying that.