Chapter 6. Where Decisions Are Made

IN MULTIPLAYER GAMES and virtual worlds, logic can be found on both the client and on the server. But if game logic can exist in both places, which has the authority to make important decisions? And why? We answer these questions in this chapter. By making the best development choices of where to maintain game state and place game logic, you will save time when tracking down bugs later, and end up with a more secure game.

We’ll start this chapter discussing the concept of authority (who’s in charge). The rest of the chapter will be spent introducing the first server-side plugin used in this book, some new ElectroServer API information, and then walking through a simple ActionScript example game.

New Concepts ...

Get ActionScript for Multiplayer Games and Virtual Worlds now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.