images

Index

A

Accurate simulations, 461

boundaries, 480

initial conditions, 479

integration scheme, 479

number variables calculations, 478, 479

timestep, 479

ActionScript 3.0, 13

animation, code

built-in frame, clock, 36, 37

getTimer() function, 3840

object motion precalculation, 40

Timer class, 37, 38

classes

definition, 14

document class, 15

functions, methods and constructors, 16

inheritance, 18

init() function, 1415

Math.random() function, 17

particle class, 14

properties, 1617

structure, 15

collision detection

BitmapData objects, 43

distance-based method, 4142

hitTestObject() method, 41

hitTestPoint() method, 41

events

definition, 27

drag ...

Get The Essential Guide to Physics for Flash Games, Animation, and Simulations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.