# What do you think?

**URL:** https://forum.kirupa.com/t/what-do-you-think/264064
**Category:** Uncategorized
**Created:** [June 22, 2008, 9:38pm UTC](https://forum.kirupa.com/t/what-do-you-think/264064 "2008-06-22T21:38:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sam\_vickery](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sam\_vickery](https://forum.kirupa.com/u/sam_vickery)
#### Post date: [June 22, 2008, 9:38pm UTC](https://forum.kirupa.com/t/what-do-you-think/264064/1 "2008-06-22T21:38:06Z")

</div>

Ive made a gun in flash with reloading and shooting, i need help with it because i’m not sure how to attach a bullet to the gun without it following the direction of the guns path.

Any suggestions are welcome and if anyone has any idea’s please let me know, im going to add a safety button at some point aswell.

The swf is attached.

---

<div class="post-metadata">

### Author: ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)
#### Post date: [June 22, 2008, 10:34pm UTC](https://forum.kirupa.com/t/what-do-you-think/264064/2 "2008-06-22T22:34:18Z")

</div>

I think that it doesn’t even aim at your mouse.

---

<div class="post-metadata">

### Author: ![EViL\_Bites](https://avatars.discourse-cdn.com/v4/letter/e/ecccb3/32.png) [@EViL\_Bites](https://forum.kirupa.com/u/EViL_Bites)
#### Post date: [June 23, 2008, 7:49am UTC](https://forum.kirupa.com/t/what-do-you-think/264064/3 "2008-06-23T07:49:57Z")

</div>

Yep the aim is off - you should check the equation you’re using to calculate rotation.

a suggestion for the bullets simply Use TweenLite

1. Create a new Round
2. set its x, y to that of the barrel point
3. Apply the tween using the target co-ordinates mouseX and mouseY, possibly with the following easing function fl.motion.easing.Exponential.easeOut - but thats not entirely necessary.

BTW, welcome to Kirupa and I think your post is in the wrong place :red:

Good Luck and Cheers

---

<div class="post-metadata">

### Author: ![sam\_vickery](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sam\_vickery](https://forum.kirupa.com/u/sam_vickery)
#### Post date: [June 23, 2008, 12:45pm UTC](https://forum.kirupa.com/t/what-do-you-think/264064/4 "2008-06-23T12:45:58Z")

</div>

Kk I will look at the aiming. In reply to the help with shooting is there a tutorial to show me as I am shot of new to flash. Thanks again for your help so far.

---

<div class="post-metadata">

### Author: ![sam\_vickery](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sam\_vickery](https://forum.kirupa.com/u/sam_vickery)
#### Post date: [June 26, 2008, 8:00pm UTC](https://forum.kirupa.com/t/what-do-you-think/264064/5 "2008-06-26T20:00:58Z")

</div>

sort\* of new
