• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Don't Fall! > Multiplayer Actions

Multiplayer Actions

In the tic-tac-toe and 9-ball chapters we discussed all of the basic multiplayer techniques that are used in Flash multiplayer games:

  • Creating room variables on the server to keep track of when both players have arrived and when a player has left the game.

  • Sending a move to your opponent and creating a property called type, which specifies the type of move being made, on the object you send to your opponent.

  • Joining the game room at the right time.

  • Creating room variables on the server to keep track of when both players' game instances are ready for the next move. (See the “Synchronization: A Multiplayer Problem and Solution” section of Chapter 18, “9-Ball,” for details on this.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint