How do online video games work?

65 viewsOtherTechnology

I know how building a solo game works, with models and interactions coded, but how are games made so that those interactions happen on many players screens with just tens of milliseconds of difference. Is it code or is it putting your game files (models + code + whatever else I am missing) on a server that can be accesed by peoples devices?

In: Technology

7 Answers

Anonymous 0 Comments

if you build your solo game correctly, everything in the world can be described by position and state. so a player might be at x,y,z, and 10 seconds in to doing animation 5.

that information is all that needs to be sent to the server, and thence the other players. They already have all the models, they just have to make a “player” with that state and it works.

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