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

Making multiplayer

There are a few game objects that have to be synchronized in our game, including the goals, the puck, and the mallets. We also need to make a few adjustments to the scene and set up matchmaking.

We are going to use the Photon Playmaker example as a template for our game, using the scenes from there and modifying them to suit our purposes. This is generally a good idea if you want to set up multiplayer quickly, because these examples feature numerous and complex FSMs that would take quite a lot of time to set up, while most of the things you will need have already been implemented.

You can download the demo scenes here: http://www.hutonggames.com/samples.php. Simply click on the link Download PlayMaker Photon Demo (requires Unity ...

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