ActionScript 3.0 Game Programming University

( 7 )

Overview

Learn ActionScript 3.0 the fun way, by creating 16 great games: real, robust games - not just "web toys"!

  • Highly-rated ActionScript tutorial, now with seven new 3D and card games!
  • Code and techniques easily adaptable to training, advertising, and more
  • For Flash artists learning ActionScript, Flash programmers seeking to create games, and ...
See more details below
Paperback
$33.22
BN.com price
(Save 26%)$44.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (17) from $17.91   
  • New (9) from $24.98   
  • Used (8) from $17.91   
ActionScript 3.0 Game Programming University

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

Learn ActionScript 3.0 the fun way, by creating 16 great games: real, robust games - not just "web toys"!

  • Highly-rated ActionScript tutorial, now with seven new 3D and card games!
  • Code and techniques easily adaptable to training, advertising, and more
  • For Flash artists learning ActionScript, Flash programmers seeking to create games, and upgraders from ActionScript 1.0/2.0.
  • Includes a chapter on developing games in Flash for the iPhone!

Gary Rosenzweig's ActionScript 3.0 Game Programming University, Second Edition is the best hands-on tutorial for learning ActionScript 3.0, the programming language behind Flash Professional CS5. You will master all the basics of ActionScript programming by building 16 robust games. One step at a time, you'll learn techniques (and get tested code) that can be adapted to virtually any project, from games to training and advertising. The first edition earned widespread raves; Rosenzweig has now updated it with seven brand-new games that teach even more valuable ActionScript 3.0 skills and techniques. You will first learn how Flash and ActionScript 3.0 work together, the elements of an ActionScript program, and how to build a basic game framework with ActionScript. Next, Rosenzweig walks you through building the full spectrum of ActionScript games, including brain games, animation-based games, picture puzzles, games based on direction and movement, casual games, word games, Q and A games, action games, game worlds, and more. This edition adds new chapters on card games and 3D games, with High-Low, Video Poker, Blackjack, 3D Paddle Ball, 3D Scavenger Hunt, and two other new projects.

Read More Show Less

Product Details

  • ISBN-13: 9780789747327
  • Publisher: Que
  • Publication date: 1/27/2011
  • Edition number: 2
  • Pages: 567
  • Sales rank: 724,538
  • Product dimensions: 6.90 (w) x 9.00 (h) x 1.30 (d)

Meet the Author

Gary Rosenzweig is a programmer, Web site developer, Internet entrepreneur, podcaster, and computer book author. Rosenzweig hosts and publishes the MacMost video podcast His thirteen computer books include The MacMost.com Guide to Switching to the Mac, ActionScript 3.0 Game Programming University, Special Edition Using Director MX and The MacAddict Guide to GarageBand.
Read More Show Less

Table of Contents

Introduction
1. Using Flash and ActionScript 3.0
2. ActionScript Game Elements
3. Basic Game Framework: A Matching Game
4. Brain Games: Memory and Deduction
5. Game Animation: Shooting and Bouncing Games
6. Picture Puzzles: Sliding and Jigsaw
7. Direction and Movement: Air Raid, Balloon Pop, Space Rocks
8. Casual Games: Match Three, Collapsing Blocks
9. Word Games: Hangman and Word Search
10. Questions and Answers: Trivia and Quiz Games
11. Action Games: Platform Games
12. Game Worlds: Driving and Exploration Game
13. Card Games: Video Poker, Blackjack
14. 3D Games: 3D Paddle Ball, 3D Scavenger Hunt Index
Read More Show Less

Preface

Introduction

  • Flash and Game Development

  • Who Is This Book For?

  • What Do You Need To Use This Book?

  • Using the Example Games in Your Projects

  • What You'll Find in This Book

  • The FlashGameU.com Website

This 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 Development

In 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.

Flashgames 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'll be close to 100 percent. Knowing that Flash 9 is almost as ubiquitous as the Web browser itself empowers us as Flash game developers.

Flash 9 even plays on Linux machines. Older versions of Flash play on Web television boxes, game consoles such as the Wii, and even portable devices such as smartphones and the PlayStation Portable. In time, we'll have the Flash 9 player and ActionScript 3.0 on these kinds of devices, too.

You can develop both standalone and web-based versions of your games with Flash. Third-party software enables you to extend your standalone games to make them robust applications.

Flash with ActionScript 3.0 is a great, practical way to make small and medium-size games.

Who Is This Book For?

This book is for anyone using Flash to develop games. However, different types of developers will use this book in different ways.

Someone fairly new to both Flash and programming will be able to use this book as a next step after learning basic programming skills. A motivated fast learner might also be able to use this book to learn ActionScript 3.0 from scratch.

If you have previous experience programming with ActionScript 1.0 or 2.0, you can use this book to get up to speed on ActionScript 3.0.

However, you should try to forget most of what you know about previous versions of ActionScript. Seriously, ActionScript 3.0 is very different from previous versions. In fact, I consider it a whole new programming language.

Many Flash users already know the basics of animation and programming but want to move on to developing games. This is the core audience for the book.

If you are not a programmer at all, but a designer, illustrator, or animator, you can use the examples in this book as a framework for your own games. In other words, you can just swap out the graphics from the source file examples.

Likewise, if you already are an expert ActionScript 3.0 programmer, this book can provide a library of code for you to draw on to make your games. No need to start from scratch.

What Do You Need To Use This Book?

Most readers will need some previous experience with Flash and programming to get the most from this book. You also need the right tools.

Prerequisite Knowledge

Readers should be familiar with the Flash CS3 environment. If you are new to Flash, run through the Flash User Guide that comes with Flash CS3. From inside Flash, choose Help, Flash Help or press F1. You might also want to consider a beginner's book or online tutorial.

This book is not geared toward first-time programmers, unless you are just looking to use the examples by substituting your own graphics. Therefore, you should have some programming experience: ActionScript 1.0, 2.0 or 3.0, JavaScript, Java, Lingo, Perl, PHP, C++, or just about any structured programming language. ActionScript 3.0 is not hard to understand if you are at least somewhat familiar with loops, conditions, and functions. Chapter 1, "Using Flash and ActionScript 3.0," in fact, sums up the basic ActionScript 3.0 syntax.

If you are a programmer, but have never used Flash before, read the parts of the Flash User Guide that pertain to the Flash interface and basic drawing and animation techniques.

Software Applications

You'll need, of course, Flash CS3 Professional or newer. Flash 8 Studio, the previous version of Flash, does not use ActionScript 3.0 and cannot be used with this book.

Flash CS3 is virtually identical on Mac and Windows. The screenshots in this book were taken with the Mac version of Flash, but they should match the Windows version very closely.

Future versions of Flash will most likely continue to use ActionScript 3.0 as the core programming language. Some of the menu choices and keyboard shortcuts might change, but you should still be able to use this book. You might want to consider setting your Publish settings for the Flash 9 player and ActionScript 3.0 to ensure maximum compatibility.

Source Files

You also need the source files for this book. See the end of the Introduction for information about how to obtain them.

Using the Example Games in Your Projects

This book includes 16 complete games, including some gems such as match three, a side-scrolling platform game, and word search. The question I often get is this: "Can I use these games in my project?"

The answer is this: Yes, as long as you modify the games to make them your own, such as changing the artwork, game play, or other content. Posting the games as-is to your Web site is not acceptable. Also, posting the source code or code listings from this book is unacceptable.

When you use these games in your projects, don't try to pass them off as completely your own work. To do so would be unprofessional. Please credit the book with a link to http://flashgameu.com.

However, if you are only using a small portion of the code, or using a game as a basic framework for something very different, no attribution is needed.

Basically, just use common sense and courtesy. Thanks.

What You'll Find in This Book

Chapter 1, "Using Flash and ActionScript 3.0," introduces ActionScript 3.0 and some basic concepts such as game programming strategies and a checklist to help you develop games in Flash CS3.

Chapter 2, "ActionScript Game Elements," presents a series of short code snippets and functions, such as creating text fields, drawing shapes, and playing sounds. This is a useful and practical library of code that we'll be using throughout the book (and you'll be using in your own projects).

Chapters 3 through 12 each contain one or more complete games. The text of the chapter walks you through the game code, enabling you to build it yourself if you want. Or, you could use the source file and walk through the code.

Chapter 3, "Basic Game Framework: A Matching Game," is a little different from the rest of the book. Instead of examining game code for a finished game, it builds a game in ten steps, producing a different Flash movie and source code file with each step. It is a great way to learn how to build Flash games.

Most of the rest of the chapters introduce a special topic before starting a new game. For instance, Chapter 4 starts with an "Arrays and Data Objects" section.

But, the content of this book doesn't stop with the pages in your hands. There is more to be found online.

The FlashGameU.com Website

The FlashGameU.com is the companion website to this book. Go there to find the source files, updates, new content, a Flash game development forum, and my blog and podcast on Flash game development.

The source files for this book are organized by chapter, and then further divided into archives for each game. There is a link to download the files at the main page of FlashGameU.com.

At FlashGameU.com, you'll also find a blog in which I post new content and try to answer reader questions. If you've got a question about something in this book, or about Flash game development in general, you can ask it in the forum or ask me directly through the blog.

Hope to see you there!


© Copyright Pearson Education. All rights reserved.

Read More Show Less

Customer Reviews

Average Rating 3.5
( 7 )
Rating Distribution

5 Star

(4)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(2)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 – 9 of 7 Customer Reviews
  • Anonymous

    Posted December 25, 2011

    Good

    Good book!

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted April 24, 2009

    more from this reviewer

    Great Flash Game Design Book

    This book has been a great help in my Flash Game Development. I would recommend this book to anyone serious about creating Flash games using AS 3.0. My only complaint was the book was not long enough.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 30, 2011

    You Can Get this book for FREE

    You can get this book for free on I-tunes Podcast. I bought this book and not B&N will not refund the price. DOn't buy this book when you can get it for FREE.

    0 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 27, 2010

    No text was provided for this review.

  • Anonymous

    Posted April 27, 2010

    No text was provided for this review.

  • Anonymous

    Posted December 18, 2009

    No text was provided for this review.

  • Anonymous

    Posted August 26, 2010

    No text was provided for this review.

  • Anonymous

    Posted January 13, 2010

    No text was provided for this review.

  • Anonymous

    Posted January 26, 2010

    No text was provided for this review.

Sort by: Showing 1 – 9 of 7 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)