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

520 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

They use networking, typically UDP for most live action games, although they don’t always send/receive as much data as you might think.

A lot of games use something called “client side prediction,” where essentially each person runs the game and the server sends important updates.

Say player A launches a rocket, for example. The rocket’s path is deterministic, so players B, C, and D don’t need updates on the rocket’s position from the server; their machines can just handle the rocket until it hits something.

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