• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Slick + Marte Engine Networked Game - Windows Specific Lag  RSS feed

 
Ronan Jacksn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
First post, hope it is a good one!
I'm making a networked tank game using the Marte engine based on Slick which is based on LWJGL.
My issue is that for some bizarre reason, when the connected players are moving, my movement is smooth for them, however when they are stationary, my movement on their end is extremely jumpy. Evidently is is not server lag or else why would it be smooth when they are moving!

Some code which may be useful in deciphering my issue is below.

Watcher.java - this listens for server messages and when it receives one it calls a function in the client.


Function called by Listener.java


In this case, is called.


updateGame function


Hopefully this is all the code needed, if not just ask for more.

I don't understand why it works on macs perfectly. Is it something to do with Java settings?

Also, in the main client class file I've got these settings:


However, playing with them doesn't seem to affect the Windows client performance at all.

Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!