Playing Together with Multiplayer
Playing games on your own is lots of fun. I’ve spent many hours exploring exotic worlds, acquiring new skills, and experiencing deep storylines on my own. But where games really shine, compared to other forms of media, is the ability for the player to create their own stories. Nothing lets players create their own story like letting them play with another real person. From cooperation and tense moments trying to help each other in games like World of Warcraft or Rocket League, to rivalry and intimidating each other in games like Call of Duty or Gran Turismo. Human behavior is still something that invokes more emotions than interacting with a complete fictional world.
In this chapter, we will cover the following main topics:
- A crash course in computer networking
- Using the
MultiplayerSynchronizer
andMultiplayerSpawner
- Running the game on multiple computers
In this chapter, we are going to implement networked multiplayer...