O'Reilly logo

Unity Multiplayer Games by Alan Stagner

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

Summary

In this chapter, we learned about a different method of communication based around HTTP web services, and learned about an HTTP communication service known as PubNub. PubNub is good for group communication and passing simple messages around, rather than multiplayer networking. It also has the advantage of communicating over HTTP, which is allowed by most firewalls (such as school or corporate networks).


We learned how to publish messages to channels, and subscribe to receive messages from a channel. We applied this knowledge to creating a global chatbox application where users can talk to each other.

In the next chapters, we'll begin covering more advanced networking concepts, starting with interpolating networked entities, and client-side ...

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