Thread: gun
-
What is the action script that allows a gun to fire. I've been taking asteroids apart and I'm trying to isolate this one feature. Anyone know an easier way to do thi. For the moment the postition and the rotation of the gun can be static, I just need to know how to make bullets.
Thanks,
Eric
------------------
they fooled ME Jerry!
-
You use DuplicateMovieClip to make the bullets fire.
There is a FLA in the Flashkit movies. Under Game Code - Drag and Shoot.
brad
-
its a bit more complicated than just duplicat movieclips if you wanna check to see if the bullets hit anything then you will need multiple collision detection which is when flash starts to get interesting!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|