O'Reilly logo

Flash Multiplayer Virtual Worlds by Makzan

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

Chatting with public messages

The most basic communication method in a virtual world is public chat channel. A public message is populated to all players within the same room. The public message mechanism is like people talking loudly in a room. All people can listen and join the conversation. However, when they leave the room, they cannot listen to the conversation anymore. This is exactly how public message behaves in a virtual world.

Chatting with public messages

We are going to make a chat dialog for public chat. The chat is composited by two parties — the sender and the receiver. The sender is a client which speaks the message out loud. The receivers are the clients which ...

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