3d - Virtual world help -
I want to start writing a multiplayer 3D game. It will be a virtual world, it will be displayed as a user player, each player is a 3D model, I am going to write it in Java and JGL, so it will be a cross platform and accessible through the web (applet). The server will have encryption in C ++.
When a user clicks with his mouse at some point in the virtual world, then it goes to this point in the animation. My question is, should the customer be calculated where to go, and the server should send it to its new position so that the server can update the client? Or, would the customer just send it to the server, and then the server will send its new status to this client and all customers? Consider that I want the minimum bandwidth and want to stop script cdds.
Thank you.
I believe the prevailing design is to take on the client that an action will be successful and with it Let the server know about it, and allow the server to "correct" the client when it detects that this mess has done something that makes the game client accountable to the player's requests, while still the server Veto gives power.
Because the server is always the right of the world's position, and other game clients will only receive their information through the server, any unlawful proceedings by the customer will always be held by the server, before they ever Can influence the other player.
Comments
Post a Comment