The Essential Guide to Flash Games: Building Interactive Entertainment with ActionScriptWe are twin brothers who were born right at the beginning of the 1970s just about the same time the first video games were being created and marketed by people like Nolan Bushnell at Atari and Ralph Baer for Magnavox. While we did not know of these video game advances at the time, something exciting was obviously in the air in those years. As far back as we can remember, we have wanted to make our own games. We grew up just like most suburban kids of the 1970s—riding bikes, playing guns and ditch ’em at the school yard, and staying out all day only to come home when the street lights came on. There was never a lot of extra money in the household, so that meant we had to find creative ways to entertain ourselves. At a very early age, we started designing games to help fill the days. First came sports contests. We spent many days conceiving two-player versions of nearly every sport imaginable on the 100-foot driveway that adorned our 1950s tract house. Not too long after, we graduated to experimenting with our dad’s surplus batteries, wires, lights, motors, and potentiometers; we were trying to make anything electronic. Through trial and error, we made electric gadgets with blinking lights, switches, and running motors, and even crude pinball machines. Soon, almost any household item had the potential to become an interactive toy or game. |
Contents
Layout Conventions | 1 |
Part 1 The Basic Game Framework
| 2 |
Chapter 1 The Second Game Theory
| 3 |
Chapter 2 Creating an AS3 Game Framework
| 45 |
Chapter 3 Creating Super Click
| 99 |
Part 2 Building Games
| 134 |
Chapter 4 Laying The Groundwork for Flak Cannon
| 137 |
Chapter 5 Building the Flak Cannon Game Loop
| 172 |
Chapter 6 Laying the Groundwork for No Tanks
| 207 |
Other editions - View all
The Essential Guide to Flash Games: Building Interactive Entertainment with ... Jeff Fulton,Steve Fulton No preview available - 2010 |
The Essential Guide to Flash Games: Building Interactive Entertainment with ... Jeff Fulton,Steve Fulton No preview available - 2010 |
The Essential Guide to Flash Games: Building Interactive Entertainment with ... Jeff Fulton,Steve Fulton No preview available - 2010 |
Common terms and phrases
0xffffff 2D array ActionScript added assets Atari Atari ST background basic Bitmap BitmapData Blaster Mines blit BlitSprite Block objects BonusPlane chapter collision detection Color Drop com.efg.framework constructor create custom event define Dice Battle Embed(source Enemy planes enemy tanks false Figure Flak Cannon Flash Develop Flash games Flash IDE Flex SDK folder frame rate frame tick function is called Game class game development game framework game level game loop game screen Game.as GameFrameWork.as gameOver gameState hit points init function iteration levelInScreen look Main.as class Mappy missiles Mochi move MovieClip nextX null OK button override public function Pac-Man package structure pixels play player post-retro preloader private function private var public class public static const public var retro runGame score ScoreBoard scoreBoardTextFormat ship Shot simple sound Sprite systemFunction TextField TextFormat TextFormat("_sans tile sheet tileHeight timer true update function