Macromedia Flash MX Game Design Demystified: The Official Guide to Creating Games with Flash -- First 1st Printing -- CD Included

Game Overview

The Multiplayer Aspect

Game Code

Points to Remember

This chapter is intended to show you how to create a very simple multiplayer game using the commonly known contest of tic-tac-toe. I have chosen a very simple game so that we can focus on the multiplayer concepts and multiplayer code involved without having to deal with the immense code usually found in more challenging games (like 9-ball). By the end of this chapter you should have a pretty good understanding of how to use the ElectroServerAS object effectively for multiplayer games.

Prerequisites

Chapter 13, "Dissecting a Chat"

Appendix C, "The ElectroServerAS Object." Use this as a quick reference for definitions of the methods and properties of the ElectroServerAS object.

Appendix B, "Multiuser Servers." Read this appendix to gain an understanding of multiuser servers, and specifically to understand ElectroServer and its capabilities, and how to install it. You need to know how to start ElectroServer so that the game file in this chapter can connect to it.

Категории