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

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
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
2   L A T E S T    R E P L I E S    (Newest First)
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 © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

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