Results 1 to 1 of 1
  1. #1
    Daslee's Avatar
    Daslee is offline Member
    Join Date
    Mar 2012
    Location
    Plunge, Lithuania
    Posts
    36
    Rep Power
    0

    Default What could cause lag?

    What could cause lag in my 2d online game? It using sockets and graphics2d. Graphics2d is in JPanel. It everytime repaints all clients after one client changes his coordinates. So if i run server and client on my computer i have no lag while moving, but if my friend connects from another computer and he moves, i see him lagging, and myself not, also my friend sees us both lagging.
    Last edited by Daslee; 03-26-2012 at 10:09 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •