O'Reilly logo

Practical Game Design with Unity and Playmaker by Sergey Mohov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Networking and Multiplayer

In previous chapters you learned how to use Unity's interface, manipulate objects, and add components and behaviors to them. You created gameplay using Playmaker actions and Unity scripting. We also looked at making custom actions from C# scripts. You made a fully playable air hockey game with an AI opponent using all these tools.

In this chapter, we are going to talk about networking. You will make a multiplayer mode for the game using Photon Unity Networking (PUN), which is a helpful plugin that comes with Playmaker and lets you make multiplayer games almost effortlessly. We will also talk about the theory of networking in games and discuss Unity native networking as an alternative to Photon.

In this chapter, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required