How can i achieve creating a simple car racing multiplayer game that can b controlled by the server over TCP/IP LAN? What Java tools can i use and how can i achieve creating a GUI that can be synchronized between 2or more users?
3 Replies - 327 Views - Last Post: 05 February 2012 - 12:31 PM
Topic Sponsor:
#1
creating a distributed multiplayer game using Java
Posted 05 February 2012 - 10:28 AM
Replies To: creating a distributed multiplayer game using Java
#2
Re: creating a distributed multiplayer game using Java
Posted 05 February 2012 - 10:34 AM
I suggest you use UDP as transport protocol. If you use tcp and one of the packages get delayed, then it will look very weird on the screen when it "catches up".
So you are saying you dont know where to start? A good place would be to learn how to send DATAGRAM packages between server/client
So you are saying you dont know where to start? A good place would be to learn how to send DATAGRAM packages between server/client
#3
Re: creating a distributed multiplayer game using Java
Posted 05 February 2012 - 11:38 AM
I pretty knowledgeable about sending packets between Server and client but i dont no how to achieve creating a user interface having 2 or more car objects moving synchronously on multiple user screens. Like what classes can i use to do this or is it possible to use and online tool like Sprite or sumtin?
#4
Re: creating a distributed multiplayer game using Java
Posted 05 February 2012 - 12:31 PM
the server simply sends the car's positions out to the clients at the same time. Of course there won't be the same delay between the clients
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|