I’m a little confused about how to set up a multiplayer game (online).
My initial understanding of the setup was
- Each player has a player controller
which gives them control of the game - The results of any actions by a
player using a player controller
would be replicated on the server,
minus the performance issues.
This is important to me, because if every player has to do all of the calculations for every player’s actions on their own PC at once, I don’t think my game idea is valid performance wise. Whereas if the players only have to do the calculations for their own actions, and just see the server’s replication of the other actions, it would work.
So my questions would be:
- Does each player have a single player
controller that gives them access to
controls - Does replication mean that no one else has to take a performance hit from the actions (for example if a group of characters is moved, and needs to use event tick to work correctly, does that tick happen on everyone’s machine?)
If anyone can help me understand or point me in the right direction that would be great!