I altered a tutorial from tutorialized.com and came up with this.
Brushing up on my ActionScripting I coded this really cheesy game. The cannon will follow the mouse pointer to aim, the further away from the cannon the pointer is the more force the projectile will have, click to fire. The object is to lob the projectile into the hoop. It still has a few bugs in the target placement and collision detection code.
Click here to check out the code for this flash game. |