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 5. Chat

CHATTING IS PRESENT in all multiplayer games and virtual worlds. It allows users to send messages for others to read immediately. In this way, users have conversations to get to know each other, trash-talk, or coordinate strategies in team-based games.

In this chapter, we look at the various ways users chat, and how those ways work with ElectroServer. We’ll discuss some new room concepts, and then look at the code used to build a simple chat room.

Overview

When it comes to programming a chat, there are several concepts that you should become familiar with. These concepts govern where you chat, who can see your chat messages, and how those messages are created in the first place. In this section, we’ll present those basic concepts, ...

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