jCay.org

last scripts

popular scripts

top rated

search
 
search:

Advertisment

The Tank: Part 2: Rotating and Shooting the Cannon

DeEnFrSp
Hits: 1066

The Tank: Part 2: Rotating and Shooting the Cannon

Rating 0.0 0.0
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: 100 Votes
5     
24%
4
76%
3
0%
2
0%
1
0%
Visitor Voting Booth: Rate It!