- Full Description
Creating games in Flash is a never-ending journey of exploration, learning, and most of all, fun. Once youve 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. Youll increase your ActionScript knowledge and your game design skills while creating some excellent example games. Youll 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 youll 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 platformsnot just Flashand will help you create top-quality games that are quick to build and easy to maintain.
- Table of Contents
Table of Contents
- Modeling Game Data
- Vectors: Ghosts in the Machine
- Collisions Between Circles
- Collisions Between Polygons
- Pixel-Perfect Collision and Destructible Environments
- Explosions, Blitting, and Optimization
- Make It Fun! Sound, Music, and AI
- Tile-Based Game Design
- XML and External Data
- Source Code/Downloads
If you think that you've found an error in this book, please let us know by emailing to email@example.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.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.