This is hard to explain in just text so I will have to post some images on my little issue.
The short explanation is I am trying to have it so that a gun follows the mouse on two different sides and is able to fire bullets, the gun follows the bullet just fine, the bullet however does not, that and once you switch sides the mouse controls seem to be inverted ?
Anyways here are some screens of the code.
The arms & guns are all separate sprites with the proper image points.
I want to convert to this touch later on but I need to understand how the follow the mouse deal works
Any help would be greatly appreciated!
And than I use this to prevent the objects from going to a 360 angle.
The code above works great actually, except for the fact that the bullets do not really follow the mouse.x & y, the seem to be at least an inch over where the cursor actually is on the screen.