|
-
multiplayer games
Ok, I posted something similar to this in "New to Java," but I didn't quite get the response I wanted (instead I learned a different neat trick).
In a multiplayer game (in a Java Frame), how do I get the computer to recognize two KeyEvents at the same time? Two objects can't move at the same time normally. Also, if one player holds down a key, the autorepeat will prevent the other player from moving (unless they release their key and press it again, which will stop the other player, and so on). Does anyone know how to solve this? Any help would be much appreciated.
Thanks,
rogueace
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks