How do online video games connect multiple players together in a session

519 views

How do developers make it possible to render the same map and real-time events to people using different devices and living a thousand miles away?

In: Technology

4 Answers

Anonymous 0 Comments

Simply networking. There is a server that holds every player on. Each player connected to the server is a client.

The server has to ‘allow’ actions from each client if each player wants to see what happens.

For example, in a shooter game, A client (player) will press the ‘fire’ button. On their screen, it will show them firing but they are asking the server ‘can you tell everyone on the server that player 3 has fired his gun? Also, tell them that out of 30 bullets, he now has 29.

If the server shuts down, the clients inside will be kicked out of the world. regardless if they have good computers or not.

You should also note: sometimes actions made by another player might take time registering to the server. The lower the ping, the more accurate the player.

Now as for map loading, if it is a fixed size such as say… team deathmatch… the map is the same size for everyone. it will be loaded in.

But if it is a HUGE map, then the client will only load in specific chunks they can see. (they will be lower quality from far away, but as they get closer, the details show (or if they use a scope))

I’m currently into game design and Ive dabbled with networking. I still have some things to learn.

You are viewing 1 out of 4 answers, click here to view all answers.