Summary
Gary Rosenzweig's ActionScript 3.0 Game Programming University shows you how to use ActionScript, the programming language behind Flash CS3 Professional. The lessons teach you all the basics of ActionScript programming through game examples, but the code can be easily adapted to non-game-oriented projects, such as web training and advertising. Written by a real-world Flash developer, this book presents you with the source code of 16 complete games and lays the foundation for you to create your own games. Gary also provides a companion website - flashgameu.com , which contains files, updates, new content, Gary's blog and much more.
Table of Contents
Introduction | p. 1 |
Using Flash and ActionScript 3.0 | p. 7 |
ActionScript Game Elements | p. 41 |
Basic Game Framework: A Matching Game | p. 83 |
Brain Games: Memory and Deduction | p. 121 |
Game Animation: Shooting and Bouncing Games | p. 155 |
Picture Puzzles: Sliding and Jigsaw | p. 195 |
Direction and Movement: Space Rocks | p. 227 |
Casual Games: Match Three | p. 267 |
Word Games: Hangman and Word Search | p. 297 |
Questions and Answers: Trivia and Quiz Games | p. 327 |
Action Games: Platform Games | p. 361 |
Game Worlds: Driving and Exploration Game | p. 393 |
Index | p. 429 |
Table of Contents provided by Publisher. All Rights Reserved. |
Excerpts
= 0) {slash = '\\';} else {slash = '/';}openLoc = figLoc.substring(0, figLoc.lastIndexOf(slash) + 1);while (pPage.substring(0,3) == '../') {openLoc = openLoc.substring(0, openLoc.lastIndexOf(slash, openLoc.length - 2)+ 1);pPage = pPage.substring(3, pPage.length + 1);}popUpWin =window.open('','popWin','resizable=1,scrollbars=1,location=0,toolbar=0,width=525,height=394');figDoc = popUpWin.document;zhtm= ' ' + pPage + ' ';zhtm += ' ';zhtm += ' ';zhtm += ' ';zhtm += '' + pPage.substring(pPage.lastIndexOf('/') + 1, pPage.length) + '';zhtm += ' ';figDoc.write(zhtm);figDoc.close();}// modified 3.1.99 RWE v4.1 --> Introduction IntroductionFlash and Game DevelopmentWho Is This Book For?What Do You Need To Use This Book?Using the Example Games in Your ProjectsWhat You'll Find in This BookThe FlashGameU.com WebsiteThis is a great time to be a Flash game developer. Right now, there is no better development tool for small and medium-size games.Flash CS3 Professional (a.k.a. Flash 9) is fast, powerful, and easy to develop with. The key to this is ActionScript 3.0, the great new programming language inside this latest version of Flash.ActionScript 1.0 and 2.0 were often frustrating for game developers. They weren't fast enough to get key tasks done, and odd bugs and unexpected behavior often slowed down production.ActionScript 3.0 is a very different animal. You'll find yourself developing quickly and effortlessly. Things just work, and work well. And the speed of ActionScript 3.0 will make your game design ideas work just as you imagined them.Let this book become your guide to Flash game development. I hope you enjoy learning from this book as much as I enjoyed writing it. Flash and Game DevelopmentIn October 1995, I was excited about my future as a game developer. Macromedia had just released Shockwave, and I saw it as a way to develop games that I could distribute myself, over the Web.Only twice since then have I seen something that has made me just as excited about game development as the original Shockwave. The next time was with the release of Shockwave 3D. And the third time was with the release of ActionScript 3.0.Flash games have been around for a while, but always as a the younger brother to Shockwave games. Shockwave was faster, more powerful, and eventually in 3D.With ActionScript 3.0, however, Flash becomes equally as powerful as Shockwave. In some ways, it is more so. For instance, the Flash 9 player is already on 80 percent of the web-browsing computers out there. By the time you get this book, most Flash 8 players would have been upgraded to Flash 9, and we