3 Replies - 327 Views - Last Post: 05 February 2012 - 12:31 PM Rate Topic: -----

Topic Sponsor:

#1 rl-elite  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 05-February 12

creating a distributed multiplayer game using Java

Posted 05 February 2012 - 10:28 AM

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?
Is This A Good Question/Topic? 0
  • +

Replies To: creating a distributed multiplayer game using Java

#2 CasiOo  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,072
  • Joined: 05-April 11

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
Was This Post Helpful? 0
  • +
  • -

#3 rl-elite  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 05-February 12

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?
Was This Post Helpful? 0
  • +
  • -

#4 CasiOo  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,072
  • Joined: 05-April 11

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
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1