LWJGL Forum

Programming => General Java Game Development => Topic started by: Fool Running on April 10, 2008, 18:13:08

Title: Multiplayer networked games
Post by: Fool Running on April 10, 2008, 18:13:08
I'm looking for a tutorial/code on creating real-time, networked, multiplayer games in Java. I've found some turn-based multiplayer game tutorials, but they sit there and wait for network responses (which I assume you can't do in a real-time environment).

Any help, links, etc. would be greatly appreciated. ;D
Title: Re: Multiplayer networked games
Post by: bobjob on April 10, 2008, 21:42:53
Quote from: Fool Running on April 10, 2008, 18:13:08
they sit there and wait for network responses (which I assume you can't do in a real-time environment).

i dont know if my networking apps are that solid, yet with my TCP multithreaded network model i let the client sit there and wait, and if the server doesnt want to send anything it will send a single byte to say "pass" and then the client will send something, i it doesnt want to it will then say "pass". I setup the sync method in the server-player Thread. its probably not the best because there is constant networking traffic, hopefully someone has a better idea.
Title: Re: Multiplayer networked games
Post by: kappa on April 11, 2008, 00:26:21
see http://www.cokeandcode.com/noodles/
Title: Re: Multiplayer networked games
Post by: Fool Running on April 13, 2008, 02:00:59
Thanks for the responses. I'm playing around with Noodles. It looks promising.  ;D