Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 help with multi-player code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Obob
Neophyte

3 Posts

Posted - Jun 06 2005 :  11:48:47 AM  Show Profile  Reply with Quote
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

Obob
Neophyte

3 Posts

Posted - Jun 06 2005 :  11:53:35 AM  Show Profile  Reply with Quote
Sorry, that "tic tac toe" tutorial was from dirextx4VB...credit where credit is due.
Bob


Go to Top of Page

Almar
Moderator

Netherlands
192 Posts

Posted - Jun 06 2005 :  1:05:12 PM  Show Profile  Visit Almar's Homepage  Send Almar an ICQ Message  Reply with Quote
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!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.