The Explosion Movie Clip
That's it. We must have hit something if the laser is in between the ship's boundaries.
Begin Tell Target ("../ship/hitdisplay") Play End Tell Target End If
Just for show, I made a little movie clip that displays the word "HIT". It lives inside the ship object. It is called "hitdisplay". But you will recognise the possibility for a lot more effect here.
Now that you've mastered the laser, it's time to add the scenery in the next tutorial in the Arcade series, Terrain Scrolling.
|» Level Advanced|
Rating: 6.99 Votes: 276
|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 (726 kb)|
|More help? Search our boards for quick answers!|