# Tank game

**URL:** <https://forum.kirupa.com/t/tank-game/283107>\
**Category:** Uncategorized\
**Created:** [March 2, 2009, 7:04pm UTC](https://forum.kirupa.com/t/tank-game/283107 "2009-03-02T19:04:56Z")\
**Posts on this page:** 1\
**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:** [March 2, 2009, 7:04pm UTC](https://forum.kirupa.com/t/tank-game/283107/1 "2009-03-02T19:04:56Z")

</div>

I have made a tank move (with the arrow keys) move the turret with (wasd) and shoot (with space) but I want to make the machine gun face the mouse. I can do this normally but no matter what I try it just doesn’t work. I have got it to sort of face the mouse but it just isn’t centred right.  
Just so you know it is going to be a two player game so don’t worry about the movement and shooting.

And another thing I know that you cant hold too many keys down at once but is there a way to increase it. Because at the moment if one player is shooting the tank cannot go forward and turn at the same time.

I have posted the fla file so you can see what I mean.

if anyone could help it would be great.
