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.
Views: 621 | | by Slicer
View this tutorial