The SWF File
Welcome to the armoury! You've conquered the trigonometry in Detecting the Mouse Angle and now you're going to need something to put rounds down range. In addition to the code built in the last tutorial, some additions are required:
a) The gun, of course!
b) Making the gun decide to shoot
c) Making a separate laser object "shoot" out of the gun.
This is what we are aiming for in this tutorial. Move your mouse around the black screen below:
|» Level Advanced|
Rating: 6 Votes: 175
|Flashjunkie is a self-professed obsessive addict of life. Due to the highly artistic nature required of an Art Director for an Ad agency, he took up Flash to add some math to his diet.|
|Download the files used in this tutorial.|
|Download (30 kb)|
|More help? Search our boards for quick answers!|