In my two player game, if both players use the same keyboard for their controls (5 keys each), I'm finding that my game "loses" or "misses" keypresses. It rendered the game unplayable, and it was very hit and miss as to when we were able to move in the direction we wanted to or actually "fire". It was my understanding that this was down to the keyboard itself and/or Windows, but other games and emulators (etc) run just fine on the same machine, so I assume it's something I'm doing.
I tried dropping a FlushKeys in to my main game loop, but holding a key down no longer worked - We needed to repeatidly press and release a key! This obviously isn't a problem when one or both players use a joystick, but I really want both players to be able to play on the same keyboard.
Am I missing something? Is this a common problem? Can it even be fixed?
Thanks.
I tried dropping a FlushKeys in to my main game loop, but holding a key down no longer worked - We needed to repeatidly press and release a key! This obviously isn't a problem when one or both players use a joystick, but I really want both players to be able to play on the same keyboard.
Am I missing something? Is this a common problem? Can it even be fixed?
Thanks.