Free Sample
+ Collection

Flash 10 Multiplayer Game Essentials

Prashanth Hirematada

Create exciting real-time multiplayer games using Flash
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847196606
Paperback336 pages

About This Book

  • A complete end-to-end guide for creating fully featured multiplayer games
  • The author's experience in the gaming industry enables him to share insights on multiplayer game development
  • Walk-though several real-time multiplayer game implementations
  • Packed with illustrations and code snippets with supporting explanations for ease of understanding

Who This Book Is For

This book discusses essentials for beginner to intermediate Flash Developers who have perhaps created a game or two in Flash and want to take the next step, and create something that can be played by two or more players over the internet. This book will appeal to professional and amateur developers with an inclination to build synchronous multiplayer games with Flash. No prior knowledge of networking or server-side programming is required.

Table of Contents

Chapter 1: Getting Started
Development environment
Pulse SDK
Installing Flash Builder 4
Downloading the Pulse SDK
Installing Pulse SDK
A high-level architecture of multiplayer game server
The server modules
The game client
The overall structure of a multiplayer game
Chapter 2: Game Interface Design
Overview of Pulse library components
The Pulse API design
Creating the Hello World sample
Introduction to PulseUI
Exploring the Hello World sample
Exploring the game server deployment
Chapter 3: Avatar and Chat
Introduction to Pulse modeler
Design of a game avatar
Avatar-related APIs
Friends management
The chat feature
Implementing high scores
Skinning the user interface
Chapter 4: Lobby and Room Management
Introduction to lobby and room management
The lobby screen implementation
New game screen implementation
Designing the game screen
Chapter 5: Game Logic
Gameplay implementation
Modeling game states
Game states in Hello World
Game state API
Miscellaneous classes
Chapter 6: Multiplayer Game Example: Tic-tac-toe
Running the game from sample directory
The Pulse UI framework
Getting started: Modeling the game
Other screens and features
Chapter 7: Multiplayer Game Example: Jigsaw
Setting up the project
The game graphics
Multiplayer and networking
Chapter 8: Card-based Racing Game Tutorial
Multiplayer design
Gameplay implementation
Chapter 9: Real-time Racing Game Tutorial
Game design
The game client
Multiplayer implementation

What You Will Learn

  • Explore the essential functionalities of a Game Server
  • Exchange information between the players using game state actions
  • Customize parts of the game screens—login, new game screen, players, friends display, and more
  • Prototype your multiplayer games rapidly using PulseUI
  • Walk through the code that manages the graphics of a game
  • Model complex game environments using XML game schema
  • Design the schema needed to implement a game using game states
  • Delve into the basics of screen management and the Pulse game state APIs
  • Deploy the game design schema required for multiplayer games

In Detail

Multiplayer web-based games are more popular than any others, and developing your own is an exciting challenge. But developing multiplayer games is a complex task. There are few resources that explain how to build multiplayer games from the ground up.

This comprehensive guide is packed with practical examples and insights into basic and fundamental knowledge for developing real-time multiplayer games in Flash.

This book starts with the essential ingredients to develop Flash games using Flash Builder 4 and AS3, followed by the basic Flash programming that you need to know in order to write any Flash game. You will learn the basic features that a developer must implement for any multiplayer game. The chapters discuss the challenges you will face when developing a multiplayer game. You will learn to leverage the PulseUI framework to quickly develop a multiplayer game along with all the required screen management. The simple, but powerful, Pulse API model required for multiplayer game development is thoroughly explained as well. As you go through these concepts, you will learn to implement them using code examples.

The last section takes you through four multiplayer game implementations of increasing complexity: first a simple turn-based TicTacToe, followed by a multi-player Jigsaw, a card-based racing game, and finally a complex space racing game.


Read More

Recommended for You

Flash Game Development by Example
$ 21.60
Flash Multiplayer Virtual Worlds
$ 29.99
Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner’s Guide
$ 29.99
Flash Development for Android Cookbook
$ 29.99