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
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.
see http://www.cokeandcode.com/noodles/
Thanks for the responses. I'm playing around with Noodles. It looks promising. ;D