realbasic-games
[Top] [All Lists]

network multi-player location updating

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: network multi-player location updating
From: LMSpam at neuropop dot com
Date: Sun, 19 Dec 2004 22:06:41 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
Haven't looked at the NetMaze code, so the answer may be there, but...

I've been tweaking Renegades to build a Virtual World interface to my site (which is PHP/mySQL based).

I've added two tables to the database "worldCoordinates" and "chat". My theory is that a client reports its current location and orientation at regular intervals (if it's changed since the last report) and then all clients send requests at periodic intervals asking the database who else is within +-X and +-Z away.

SO....

is this the best plan - or will all these individual queries suck up too much bandwidth (I'm on a very choked system)? And if it is reasonable, are there any guidelines on how often to send updates and queries?


L

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>