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 next installment of the arcade game tutorial. You've understood the trigonometry in our tutorial on Detecting the Mouse Angle and you're gun resembles the death star after Weapon Manufacturing 101. Now we are going to look at making your game check if the laser movie has hit a ship object.
Move your mouse around the black window below to see laser checking in action:
Tip: Instead of Hit appearing in red letters consider adding explosion sound effects, visuals and giving the ship object some interactivity. For instance allow the user to manuovuer it using the arrow keys or allow it to use a shield and fire back!
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.