Game: Shooting

I was wondering how i could have a movie clip shoot from a static object in the direction that the mouse is, and how i could make a laser line in the direction showing you where the clip will go, and one last thing, how can i make a limited amount of bullets.


Well, let’s see here. The answer to your question is…Actionscript! :slight_smile:

i made this before to show someone else how to do it after i had been shown from another source… lol big chain of stuff… but anyway here is the file… (there are 3 mc’s on the stage, the laser off the stage to be duplicated, the ship, and the invisible mc in the center… it is there so that way it never moves, unlike the ship when it rotates… so check the code in the center empty mc for the angle code…)