AdvancED Game Design with Flash

By Rex van der Spuy

AdvancED Game Design with Flash Cover Image

This book is a direct continuation of Foundation Game Design with Flash, and is a complete point-by-point roundup of the most important skills a Flash game designer needs to know.

Full Description

  • ISBN13: 978-1-4302-2739-7
  • 808 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: August 31, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $44.99
  • eBook Price: $31.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Creating games in Flash is a never-ending journey of exploration, learning, and most of all, fun. Once you’ve mastered the basics, a new world is opened up to you, enabling you to take your existing skills to the next level and discover new skills that will in turn open new doors. This book is a direct continuation of Foundation Game Design with Flash, and is a complete point-by-point roundup of the most important skills a Flash game designer needs to know. You’ll increase your ActionScript knowledge and your game design skills while creating some excellent example games. You’ll learn advanced collision detection skills; professional AI and pathfinding; and how to load and save game data, create destructible environments, and build and switch game levels.

  • Each chapter highlights a new advanced technique illustrated by practical examples.
  • Examples of games are given in a variety of genres, all of which take an object-oriented programming approach.
  • Advanced game design topics are covered, including vector-based collision reaction, pathfinding, billiard ball physics, and modeling game data.

What you’ll learn

  • How to use vectors to figure out where objects are going and how they should react to collisions
  • Pixel-perfect collision detection for irregular shapes using hitTest and bitmapData
  • How to use design patterns and abstract data models to manage complex games efficiently
  • How to create advanced enemy artificial intelligence systems using pathfinding strategies in grid-based environments
  • How to use XML to load and save game data
  • How to use sound and music in games and create particle effects using blitting.

Who this book is for

This book is for experienced Flash and ActionScript 3.0 developers who want to take their game design skills to a professional level. Readers should have a solid background in object-oriented ActionScript 3.0 programming, and may have attempted game projects of their own. If you have read Foundation Game Design with Flash, then this book will be a natural next step for you. The book covers game design strategies and techniques common to many game design platforms—not just Flash—and will help you create top-quality games that are quick to build and easy to maintain.

Table of Contents

Table of Contents

  1. Modeling Game Data
  2. Vectors: Ghosts in the Machine
  3. Collisions Between Circles
  4. Collisions Between Polygons
  5. Pixel-Perfect Collision and Destructible Environments
  6. Explosions, Blitting, and Optimization
  7. Make It Fun! Sound, Music, and AI
  8. Tile-Based Game Design
  9. Pathfinding
  10. XML and External Data
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page xxix:
I am getting the following errors all to do with the metadata aspect of the code:
StatusBox, line 15
"exception during transcoding: Cannot enbed local font 'Courier New' as CFF. The CS5 @font-face 'local()' syntax is not supported....

StatusBox, line 15
unable to build font 'embeddedFont'

StatusBox, line 1
1120: Access of undefined property StatusBox_EmbeddedFontClass

I didn't get the warning as described on xxv to Update library path and was wondering if Flash CS5 had changed something that will affect the rest of the examples in this book.


On page 30:

Upon running MVC for the first time:

exception during transcoding: Cannot embed local font 'Courier New' as CFF. The CSS @font-face 'local()' syntax is not supported. Please specify a path directly to a font file using the 'url()' syntax. For [Embed] syntax the 'systemFont' attribute is not supported. Please specify a path directly to a font file using the 'source' attribute.