# Game: Shooting

**URL:** <https://forum.kirupa.com/t/game-shooting/29158>\
**Category:** Uncategorized\
**Created:** [August 23, 2003, 12:35am UTC](https://forum.kirupa.com/t/game-shooting/29158 "2003-08-23T00:35:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WizzoMaFizzo](https://avatars.discourse-cdn.com/v4/letter/w/b487fb/32.png) [@WizzoMaFizzo](https://forum.kirupa.com/u/WizzoMaFizzo)\
**Post date:** [August 23, 2003, 12:35am UTC](https://forum.kirupa.com/t/game-shooting/29158/1 "2003-08-23T00:35:33Z")

</div>

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.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 12:49am UTC](https://forum.kirupa.com/t/game-shooting/29158/2 "2003-08-23T00:49:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 2:40am UTC](https://forum.kirupa.com/t/game-shooting/29158/3 "2003-08-23T02:40:44Z")

</div>

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…)
