Hi Cara,
I am certain you will get some latency, in updating the sound listener,
but how much really depends on the connection speed of the network
connection.
At any rate the client must have it's own listener object to position
sounds locally. The server side app won't need one. All the client needs
to know is the location of all the sounds of the other players or items
and position the sounds accordingly in the 3d listener.
This is information you will have to obtain from your server side
application anyway so you can update the listener as soon as you obtain
the information from the server in your game loop.
Your game loop might be like this.
while (playing == true)
{
//// Update all data from the server.
UpdateServerData();
// Update the listener.
UpdateListener();
// Do something based on the server data.
UpdateGame();
// Wait here 10 MS.
Wait(10);
}
_______________________________________________
Gamers mailing list .. [email protected]
To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit
http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make
any subscription changes via the web.