Categories

Updated: 04/15/2006

The Tank: Part 2: Rotating and Shooting the Cannon

In this Flash tutorial you will learn how to make the cannon on the tank rotate wherever the mouse is pointing and shoot whenever the left mouse button is clicked. Topics covered in this tutorial: mouse angle detection, onMouseDown event, duplicateMovieClip, rotation and actionscript controlled motion.
©2003-2019 jCay.com