Game Programming in Flash Birmingham AL

In this article, I show you how to program games in Macromedia Flash. I like Flash because it simplifies the visual side of programming, works on almost every computer made, and has a powerful and reasonably easy programming language. Here I’ll elaborate on the reasons for programming with Flash.

Local Companies

EVENT OPERATIONS GROUP
601-583-1176
210 Bearden Rd
Pelham, AL
Alatax-Rds
(205) 324-0088
2317 3rd Ave N Ste 200
Birmingham, AL
Pomeroy It Solutions
(205) 823-2177
2100 Riverchase Ctr
Birmingham, AL
Elixir International
(205) 444-5556
2100 River Haven Dr
Birmingham, AL
Advanced Computer Services
(205) 870-1738
119 Edgewood Blvd
Birmingham, AL
Morris Consulting & Training Inc
(205) 444-1185
5024 Trace Crossings Ln
Birmingham, AL
Syncsite Inc
(205) 278-7878
4 Office Park Cir
Birmingham, AL
Pyramid Digital Solutions
(205) 982-3054
1 Riverchase Office Pl
Birmingham, AL
Ingenuity
(205) 263-1560
2 Chase Corporate Dr Ste 40
Birmingham, AL
E-Systems Net Inc
(205) 991-1518
5120 Cyrus Cir Ste 201
Birmingham, AL


provided by:


For Dummies is a registered trademark of Wiley Publishing, Inc. in the United States and other countries. Used here by license.




Reasons for programming with Flash

  • Flash offers robust multimedia support. Flash, which was designed to support animation on the Web, supports various kinds of images easily. (Think JPEG images and custom drawings.) Flash also has great support for various kinds of audio files, such as MP3 and WAV formats.

  • ActionScript is related to the influential C language. The ActionScript programming language built into Flash is closely related to JavaScript and ECMAScript, which are two extremely common programming languages. All these languages are based on the C programming language, so the coding conventions you’ll master are much like those in other languages.

  • Flash is designed for the Web. By working in Flash, you have a ready distribution network. Because Flash was designed for the Web, all your games can be easily published on the Web, and anybody with a Web browser and a Flash plug-in can enjoy your games. And you won’t have to worry about what operating system your users use. (All the programs in this book have been tested in Windows XP and Fedora Core Linux, but they should work in any OS with a Flash plug-in.)

    ActionScript programming language

    Maybe you’ve used Flash to build Web animations without ever going into its programming features. Many books on Flash (as opposed to ActionScript) focus on the powerful animation features of Flash. These books often mention ActionScript but don’t dwell on it heavily. Animation is primarily about creating moving images; user interaction in animations is minimal. When creating an animation, you generally create some sort of visual symbol onscreen and then use a tool called a motion tween to indicate where this object should be at a specified point in time. You can also use a tool called a shape tween to change the shape of an object over time. You can do this with many objects at the same time to make a complex animation. In order to track all these objects, Flash animators often arrange them into separate layers. Thus, a typical 30-second Flash animation might have hundreds of frames of animation in over a dozen layers.

    Animation is cool because it allows you to build movies. However, to create games, you must discover how to program.

    If you treat Flash as a programming environment (as I do in this book), you see things quite differently. You still use Flash to create objects, but instead of relying on the Flash environment to control what those objects do (via animation), you control the objects directly by writing programming code. The ActionScript programming language built into Flash lets you do anything that can be done with animation — and many things that cannot be done by using animation techniques alone.

    In a nutshell, programming is what makes games interactive. You can

  • Control what’s onscreen, what size it is, where it is, and how it’s rotated
  • Detect whether two things touch each other
  • Accept input from the user


    provided by:


    For Dummies is a registered trademark of Wiley Publishing, Inc. in the United States and other countries. Used here by license.


  • Featured Local Company

    EVENT OPERATIONS GROUP

    601-583-1176
    210 Bearden Rd
    Pelham, AL

    Related Local Events
    Creative Movement Stevan Grebel Center for Dance
    Dates: 11/30/2009 - 11/30/2009
    Location: Grebel Dance
    Pelham, AL
    View Details

    Pell City Rotary Club Meeting?
    Dates: 12/1/2009 - 12/1/2009
    Location: Pell City Civic Center
    Pell City, AL
    View Details

    Terrific Tuesday Concert Series
    Dates: 12/1/2009 - 12/1/2009
    Location:
    Tuscaloosa, AL
    View Details

    AHSAA Super Six Football Championships
    Dates: 12/3/2009 - 12/3/2009
    Location: Bryant Denny Stadium
    Tuscaloosa, AL
    View Details

    UA Concert Series - Hilaritas
    Dates: 12/4/2009 - 12/4/2009
    Location: Moody Music Bldg, Concert Hall
    Tuscaloosa, AL
    View Details