Gravity

Alternative content

Get Adobe Flash player

Source code

The program is written in ActionScript which compiles to Flash. There are four classes:

The code was created using the open source FlashDevelop IDE and the open source Adobe Flex SDK. Code inspired by BlockGame of Chris DeLeon www.GameDevLessons.com. Creative Commons image from flickr.