O'Reilly logo

ActionScript for Multiplayer Games and Virtual Worlds by Jobe Makar

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 2. Connecting Users

THINK ABOUT THE multiplayer application that you want to create, and how popular you hope it becomes. What probably comes to mind is a virtual world or game lobby system that is bustling, alive with constant activity. Users are joining and leaving frequently, chatting, and interacting with each other.

How do these users get information about each other? Are they directly connected to each other, or is something else going on? This chapter answers those questions and describes the most common way this interaction is handled. We’ll wrap up by choosing a technology that we’ll use for the rest of the book.

Connection Techniques

In order for anything multiuser to take place, clients have to be able to get information ...

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