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

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