Main page

[ LiB ]
   
   
  Table of Contents
 
Game Development with ActionScript
By Lewis Moronta
 
Publisher : Premier Press
Pub Date : 2004
ISBN : 1-59299-110-6
Pages : 424
    buy print version


Game Development with ActionScript is the concise book of choice for learning how to program your own games in Flash from scratch!. Assuming no previous programming knowledge, the average aspiring programmer will learn how to create and design his own programs in a matter of pages.. Clear and concise text introduces concepts through numerous demos throughout the book. Hands-on exercises reinforce these concepts giving the reader a solid foundation of skills. Q&As at the end of each chapter assure that no gaps in knowledge are left unfilled.

Features

  • This book is a companion to Macromedia Flash MX Game Programming. It is targeted at the beginner-intermediate user; the Flash MX book is for intermediate-advanced user .

  • Focuses more on artistic game design and programming; the Flash MX book is heavier on the programming side.

  • Requires no prior programming knowledge and no prior Flash MX knowledge.

  • Covers Flash MX?s newest features. Many competing titles do not because they are based on Flash 5

[ LiB ]
[ LiB ]
   
   
   
  Table of Contents
Game Development with ActionScript
By Lewis Moronta
 
Publisher : Premier Press
Pub Date : 2004
ISBN : 1-59299-110-6
Pages : 424
    buy print version
    Dedication
    Acknowledgments
    About the Author
    Letter from the Series Editor
    Introduction
      Section Part One:.  What's in This Book?
      What's on the CD?
    Part ONE:  The Essentials
      Chapter 1.  The Flash Interface: Getting Acquainted
      Flash History
      Flash Today
      The Flash Tour
      Symbols
      Publishing
      Summary
      Questions & Answers
      Chapter 2.  Programming and Design: Concept to Production
      What Is Programming?
      What Is ActionScript?
      Production Pipeline
      Summary
      Question & Answer
      Chapter 3.  The Fundamentals: Variables, Conditionals, and Loops
      Where Do Scripts Go?
      The trace Command and Syntax
      Your First Program
      Commenting Your Code
      Introducing Variables
      The Operators
      Conditional Statements
      Loops and Iteration
      Summary
      Questions & Answers
      Chapter 4.  Movie Clips and Buttons: Methods and Properties
      Programmable Buttons
      All About MCs
      Custom Functions
      Movie Clip Navigation
      Summary
      Questions & Answers
      Exercise
      Chapter 5.  Arrays and Objects
      What Are Arrays?
      Referencing Arrays
      Creating and Initializing Arrays
      Multi-Dimensional Arrays
      Using Arrays
      What Are ActionScript Objects?
      Creating and Initializing Objects
      Using Objects
      Summary
      Question & Answer
    Part TWO:  The Intermediate Info
      Chapter 6.  Dynamic Movie Clips
      Generating Random Numbers
      Duplicating a Movie Clip
      Duplicating Clips from the Library
      The attachMovie Demo
      Improving the Particle System
      Summary
      Question & Answer
      Exercise
      Chapter 7.  Drawing with a Script
      How to Draw a Line
      How to Draw Shapes
      How to Automate Patterns
      Drawing Shapes with Fills
      Drawing Curves
      Drawing Shapes in Movie Clips
      Summary
      Question & Answer
      Exercises
    Part THREE:  Interactivity and Sound
      Chapter 8.  User Interactivity: the Keyboard
      The Hidden Keypress
      Using the Key Object
      Installing Key Listeners
      A Key Object Demo
      Summary
      Questions & Answers
      Exercises
      Chapter 9.  More Interaction: The Mouse
      Detecting the Mouse Cursor Position
      Replacing the Mouse Cursor
      Drawing Lines to the Cursor
      Allowing the User to Draw
      Dragging and Dropping
      Summary
      Question & Answer
      Exercise
      Chapter 10.  Sound Effects and Music
      Using Library Sounds
      Setting Up a Sound Movie Clip
      Attaching Sounds Dynamically
      Creating a Volume Slider
      Panning Sounds
      Transforming Sounds
      Sound Monitoring
      Summary
      Question & Answer
      Exercises
    Part FOUR:  The Math
      Chapter 11.  Trigonometry Made Easy
      The Unit Circle
      What Are Radians?
      Periods, Domains, and Ranges
      Trigonometric Functions
      The Tank Demo
      Summary
      Question & Answer
      Exercise
      Chapter 12.  The Physics: Making It Feel Real
      Vector and Scalar Values
      Working with Gravity
      Working with Wind
      Working with Friction
      Summary
      Questions & Answers
      Exercise
    Part FIVE:  Advanced Topics
      Chapter 13.  Server and CGI Communications
      Exporting HTML
      Browser Communication
      CGI Scripts
      How Info Is Stored
      The LoadVars Object
      Sending Info to the Server
      Saving Game States
      Summary
      Questions & Answers
      Chapter 14.  Memory and Web Management
      Designing a Loader Screen
      Using the Bandwidth Profiler
      Issues with Linked Objects
      Summary
      Question & Answer
      Exercise
      Chapter 15.  Advanced Interaction with Components
      Meet the Components
      The PushButton
      Designing an Options Screen
      Summary
      Questions & Answer
      Exercise
      Chapter 16.  Debugging and Avoiding Common Programming Pitfalls
      Common Pitfalls
      Using the Debugger
      Summary
      Questions & Answers
      Chapter 17.  Matridia II: The Project
      The Idea
      The Approach
      The Setup
      The Code
      The Future
      Summary
      Questions & Answers
      Exercises
    Appendix A.  Keyboard Keys and Key Code Values
[ LiB ]