🔒 Locked
[java] my 2 player java game
Advertisement
Original Post
You need a buddy to try it. Its right here Both players play with opposite sides of the keyboard. If you've got a buddy to play with, you'll probably notice a bug where the controls kind of lock up, one ship might start rotating non-stop. The reason is because the input system can only handle so many keypresses at once. Does anyone have any suggestions as to how I could make it so that the game could handle more keypresses? DirectInput for Java (if that exists)was my guess, but what would Mac users use?
I am after the same information that EGD Eric was. I don't believe that it's a hardware issue because I am making a JAVA version of one of my C++ games. In the C++ version, I used on many differant computers and keyboards, none of which were USB, the keyboard worked perfectly. It may be that JAVA is not as good at keyboard detection as C++, but it's not a hardware issue.
Anyway I'm using a USB keyboard and I still get the same problems with Erics game.
Does anyone know how to do key detection in JAVA so that it will pick up 6+ keys at a time?
Anyway I'm using a USB keyboard and I still get the same problems with Erics game.
Does anyone know how to do key detection in JAVA so that it will pick up 6+ keys at a time?
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement