Note: You must be registered in order to post a reply.
|
Obob |
Posted - Jun 06 2005 : 11:48:47 AM Hi, Can anyone direct me towards some good tutorials or other sources of information regarding multiplayer VB coding? Using the "tic tac toe" tutorial from Lucky's VB site, I have a semi-functional multi-player game. All the work is done server side, and clients are updated. I'm trying to optimize the code so it's not so damn laggy, and things move more smoothly. I've tried client-side prediction stuff which makes it worse. I'm only sending small packets (ie x,y values of 4 players) but it's still choppy. I've tried using timers to limit all computers to 30 game loops a second (not render loops though) without improvement. I'm assuming you have to further synchonize the server and clients, and that there other optimizations I haven't gotten to yet. Can anyone help me out? Thanks. Bob
|
Almar |
Posted - Jun 06 2005 : 1:05:12 PM It really depends on your game type. Just remember that the client is -always- behind the server, and the server is always behind the sending client.
www.flipcode.com/network (or networking) has some interesting read
furter, www.gamedev.net -> multiplayer forums. A wonderfull resource! |
Obob |
Posted - Jun 06 2005 : 11:53:35 AM Sorry, that "tic tac toe" tutorial was from dirextx4VB...credit where credit is due. Bob
|
|
|
VBGamer |
© |
|
|
|
|