This discussion is archived
4 Replies Latest reply: Mar 19, 2010 7:45 AM by 843853 RSS

help with lag in multinetwork ping pong game

843853 Newbie
Currently Being Moderated
we are developing a multi network ping pong game for one of our engineering courses and we have come across a bug that causes our game to lag when we try to play the game in real time over the network.We don have a clue how to resolve this issue. We think is due to the networking. Our client and server sends messages to each other every 40ms. The message contains the following info: paddle x and y coordinate, paddle length, paddle height, ball x and y coordinate, and ball radius. For the first 30 sec the game seems synchronize but then after it lags like crazy.I need help because this is driving me insane. All the help will be greatly appreciated. If you need to see some code let me know please.