Ebook: Foundation ActionScript Animation: Making Things Move!
Author: Keith Peters (auth.)
- Tags: Programming Techniques
- Year: 2006
- Publisher: Apress
- Edition: 1
- Language: English
- pdf
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 you 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 Flash's 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, there's no need to worry, even if you're 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. You'll work your way through slowly, from using code to move a single object across the screen to creating complex systems that really push Flash's 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, you'll find yourself creating all manner of exciting animations and games!
Sure you can animate using motion tweensin fact, well help you do that with our Flash Cartoon Animation bookbut isnt there something extra special in making things move with just a few lines of code?
In this book Keith Peters guides you 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 Flash's 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 you're 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 through slowly, from using code to move a single object across the screen to creating complex systems that really push Flash's 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, you'll find yourself creating all manner of exciting animations and games!
Sure you can animate using motion tweensin fact, well help you do that with our Flash Cartoon Animation bookbut isnt there something extra special in making things move with just a few lines of code?
In this book Keith Peters guides you 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 Flash's 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 you're 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 through slowly, from using code to move a single object across the screen to creating complex systems that really push Flash's 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, you'll find yourself creating all manner of exciting animations and games!
Content:
Front Matter....Pages i-xviii
Front Matter....Pages 1-2
Basic Animation Concepts....Pages 3-11
Basics of Actionscript for Animation....Pages 13-40
Trigonometry for Animation....Pages 41-68
Rendering Techniques....Pages 69-98
Front Matter....Pages 99-100
Velocity and Acceleration....Pages 101-122
Boundaries and Friction....Pages 123-146
User Interaction: Moving Objects Around....Pages 147-159
Front Matter....Pages 161-162
Easing and Springing....Pages 163-188
Collision Detection....Pages 189-209
Coordinate Rotation and Bouncing Off Angles....Pages 211-233
Billiard Ball Physics....Pages 235-262
Particle Attraction and Gravity....Pages 263-279
Forward Kinematics: Making Things Walk....Pages 281-303
Inverse Kinematics: Dragging and Reaching....Pages 305-322
Front Matter....Pages 323-324
3D Basics....Pages 325-358
3D Lines and Fills....Pages 359-386
Backface Culling and 3D Lighting....Pages 387-410
Front Matter....Pages 411-412
Matrix Math....Pages 413-426
Tips and Tricks....Pages 427-455
Back Matter....Pages 457-470
Sure you can animate using motion tweensin fact, well help you do that with our Flash Cartoon Animation bookbut isnt there something extra special in making things move with just a few lines of code?
In this book Keith Peters guides you 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 Flash's 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 you're 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 through slowly, from using code to move a single object across the screen to creating complex systems that really push Flash's 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, you'll find yourself creating all manner of exciting animations and games!
Content:
Front Matter....Pages i-xviii
Front Matter....Pages 1-2
Basic Animation Concepts....Pages 3-11
Basics of Actionscript for Animation....Pages 13-40
Trigonometry for Animation....Pages 41-68
Rendering Techniques....Pages 69-98
Front Matter....Pages 99-100
Velocity and Acceleration....Pages 101-122
Boundaries and Friction....Pages 123-146
User Interaction: Moving Objects Around....Pages 147-159
Front Matter....Pages 161-162
Easing and Springing....Pages 163-188
Collision Detection....Pages 189-209
Coordinate Rotation and Bouncing Off Angles....Pages 211-233
Billiard Ball Physics....Pages 235-262
Particle Attraction and Gravity....Pages 263-279
Forward Kinematics: Making Things Walk....Pages 281-303
Inverse Kinematics: Dragging and Reaching....Pages 305-322
Front Matter....Pages 323-324
3D Basics....Pages 325-358
3D Lines and Fills....Pages 359-386
Backface Culling and 3D Lighting....Pages 387-410
Front Matter....Pages 411-412
Matrix Math....Pages 413-426
Tips and Tricks....Pages 427-455
Back Matter....Pages 457-470
....