Thursday, February 26, 2009

Foundation ActionScript Animation: Making Things Move

Foundation ActionScript Animation: Making Things MovePaperback: 400 pages
Publisher: friends of ED (October 17, 2005)
Language: English
ISBN-10: 1590595181
ISBN-13: 978-1590595183
Product Dimensions: 8.9 x 7.3 x 1.3 inches





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. As you'd expect, the book intersperses theory with practical demonstrations of the techniques covered. A basic knowledge of ActionScript concepts is all that is required to get up and running with the tutorials. Keith goes on to cover more advanced animation topics such as 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.
Unlike so many authors, Keith Peters is not out to impress us with his cleverness and intellect. His main purpose is to share a wealth of practical knowledge that he's been building up over the years in a practical way. You won't find any cartoons or jokes in this book. Nor will you find digressions and distracting sidebars. Though it covers a number of complex topics in Math and Physics, it does not read like a textbook -- the author strives to explain only what is necessary to get things working.

Sometimes he is downright apologetic when he has to cover a difficult subject. At the start of the chapter on Momentum, he writes "I have reached a point where I just can't ignore mass any longer. Mass is just so tied up in the subject of momentum that I'm just going to have to confront it head on." If anything, this constant apologizing becomes a bit tiresome!

Flash has been an evolving platform over the years, and Actionscript Animation does an admirable job putting everything into a helpful historical perspective, showing how things have changed from Flash 5 to Flash 8. Chapter 2, is such a perfect overview of common techniques for building Flash applications that I have recommended it to some co-workers who are programmers, but who haven't had experience with Flash. The Flash 8 examples are usually in their own section of a chapter, and can be ignored if you're working with an older version.

I recommend this book even to veteran Actionscripters. Though this is not an OOP book, most of the examples are only about a function or two long, so you can easily convert them into methods for your classes. Furthermore, even topics you are comfortable with can worth reading about because Peters may surprise you with a new way to do something. For example, after covering the basics of Trigonometry, he immediately provides a number of useful examples of pulsing and elliptical motion that can be achieved with trig functions, including an interesting example that applies the function to the scale of a movie clip to create a pulsing effect.

The final chapters of the book cover basic 3D animation techniques. While I didn't feel ready to build the next Quake, I was grateful for the author's gentle introduction to a topic that is often presented in a very confusing way. When I was done, felt prepared to tackle a more difficult book on 3D graphics.

Though it's not designed to be a reference book, Foundation Actionscript Animation will certainly find a home near my computer. And next time I'm creating an SWF that involves collision detection, gravity or matrices, this is the first place I'll go for a refresher.

Free Download : Foundation ActionScript Animation: Making Things Move

No comments:

Post a Comment