Physics for Flash Games Animation and Simulations