Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Gravity Simulation In Flash

The position the mouse pointer had in the previous frame in time. The object keeping track of this is a V2D from 2 Dimensional Vector. A vector is basically just an X value and an Y value which will result in a direction and length/power. We’ll get to the details of this one shortly…

Click here for this Tutorial!