You are not signed in. Sign in.

List Books: Buy books on ListBooks.org

Foundation ActionScript Animation: Making Things Move! »

Book cover image of Foundation ActionScript Animation: Making Things Move! by Keith Peters

Authors: Keith Peters
ISBN-13: 9781590595183, ISBN-10: 1590595181
Format: Paperback
Publisher: Apress L. P.
Date Published: October 2005
Edition: (Non-applicable)

Find Best Prices for This Book »

Author Biography: Keith Peters

Keith lives in the vicinity of Boston, MA, in the USA with his wife Kazumi and their new daughter Kristine. He has been working with Flash since 1999, and has co-authored many books for friends of ED, including Flash MX Studio, Flash MX Most Wanted, and the ground-breaking Flash Math Creativity.

In 2001 he started the experimental Flash site, BIT-101 (www.bit-101.com), which strives for a new, cutting edge, open source experiment each day. The site recently won an award at the Flashforward 2003 Flash Film Festival in the Experimental category. In addition to the experiments on the site, there are several highly regarded Flash tutorials which have been translated into many languages and are now posted on web sites throughout the world. Keith is currently working full time doing freelance and contract Flash development and various writing projects.

Book Synopsis

Sure you can animate using motion tweens, in fact we'll help you do that with our Flash Cartoon Animation book, but isn't there something extra special in making things move with just a few lines of code?

In this book Keith Peters guides us through some basic animation theory and then demystifies the math and physics behind creating realistic animation, looking at trigonometry, velocity and acceleration, and bouncing & friction.

This book will teach you how to use Flash ActionScript to move the objects in your movies, rather than letting Flashs tween engine do it for you. The benefit of this is smaller, more realistic, more dynamic interactive movies that seem to come alive on your screen. Almost all of the code featured in this book will work fine in either Flash MX 2004 or Flash 8, and with a few minor adjustments, most of it can even be applied to Flash MX.

Although the text covers many advanced math and physics concepts, making for very realistic motion, theres no need to worry, even if youre a relative newcomer to programming and the last math class you took was in high school (and even if you barely remember that!).

This book first covers everything you need to know to get started: the principles of animation, and the basics of ActionScript, trigonometry, and Flash rendering methods. Youll work your way slowly from using code to move a single object across the screen to creating complex systems that really push Flashs capabilities with topics covered including collision detection, particle attraction, and kinematics. The book concludes with looking at 3D animation techniques, including building a basic 3D engine, 3D lines, fills and solids, and matrix math.

Once you come to grips with the ideas presented here, youll find yourself creating all manner of exciting animations and games!

Summary of Contents

  • Part I ActionScripted Animation Basics

    • Ch. 1 Basic Animation Concepts
    • Ch. 2 ActionScript Basics for Animation
    • Ch. 3 Trigonometry
    • Ch. 4 Rendering Techniques

  • Part II Basic Motion

    • Ch. 5 Velocity and Acceleration
    • Ch. 6 Bouncing and Friction
    • Ch. 7 User Interaction: Dragging and Throwing

  • Part III Advanced Motion

    • Ch. 8 Easing and Springs
    • Ch. 9 Collision Detection
    • Ch. 10 Bouncing off Angles
    • Ch. 11 Billiard Ball Physics
    • Ch. 12 Particle Attraction
    • Ch. 13 Forward Kinematics
    • Ch. 14 Inverse Kinematics

  • Part IV Three D

    • Ch. 15 A Basic 3D Engine
    • Ch. 16 3D Lines, Fills, Solids
    • Ch. 17 Advanced 3D: Backface Culling and Lighting
    • Ch. 18 Matrix Math
  • Part V Tips and Tricks

    • Ch. 19 Tips and Tricks

Table of Contents

Ch. 1Basic animation concepts3
Ch. 2Basics of ActionScript for animation13
Ch. 3Trigonometry for animation41
Ch. 4Rendering techniques69
Ch. 5Velocity and acceleration101
Ch. 6Boundaries and friction123
Ch. 7User interaction : moving objects around147
Ch. 8Easing and springing163
Ch. 9Collision detection189
Ch. 10Coordinate rotation and bouncing off angles211
Ch. 11Billiard ball physics235
Ch. 12Particle attraction and gravity263
Ch. 13Forward kinematics : making things walk281
Ch. 14Inverse kinematics : dragging and reaching305
Ch. 153D basics325
Ch. 163D lines and fills359
Ch. 17Backface culling and 3D lighting387
Ch. 18Matrix math413
Ch. 19Tips and tricks427

Subjects