Featured FLA
» Author: Nick Kouvaris
» Title: Znax
» Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
» More by:Nick Kouvaris
Featured Site
» Author Agence WOP Digital Agency
» Title: Electricdrum
» Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.
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:
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.