The Tank: Part 2: Rotating and Shooting the CannonHits: 1216
*****
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.
Platform(s): Windows
Date: Apr, 15 2006 Author: My Flash Resource, http://www.myflashresource.com/flash-tutorials/the-tank-part-2-rotating-and-shooting-the-cannon {
Ratings}Number of Ratings: 179 Votes
Visitor Voting Booth:
|