Game Development Community

No more than two keys at once?

by Eric Robinson · in Torque Game Builder · 10/12/2006 (9:42 pm) · 5 replies

Is there a limitation in the code for key presses? If I hold down two keys then a third key-press is not registered. Bug? Incorrect setting somewhere?

Thoughts?

#1
10/12/2006 (9:52 pm)
Most keyboards have a key limit (or perhaps it's in software) - but nevertheless it's probably not a TGB issue. I've made non-TGB multiplayer split-screen games and was always limited to 3 keypresses at a time.

Two doesn't sound like very many though. Can you test it on another computer?

Hope that helps a bit.
#2
10/12/2006 (10:04 pm)
I could see it being a non-TGB software issue but I highly doubt it. Unless OSX (my dev platform OS) sets a limit by default then I don't really see any reason for it besides TGB.

As for counterexamples... why not look at any FPS game? Jump while strafing left and moving forward. (Usually: hold down [A] and [W] and press [Spacebar]. There's three right there and that's one of the simplest of scenarios...
#3
10/12/2006 (11:26 pm)
A quick google found some interesting tidbits here and here. Looks like the limit could be caused by one of many different systems.

Hmmm. Hope that helps some.
#4
10/13/2006 (1:19 am)
Most keyboards, especially the cheaper ones, will have certain simultaneous key limits, and these typically differ from key to key as well.
#5
10/13/2006 (10:49 am)
It's definitely a hardware or OS issue, not a TGB limitation. Sometimes there's even a BIOS setting on your computer that you can change.