Hi,
I'ved done a few searches (google, youtube, here) and unable to solve a issue with my 360 movement/direction with a gun sprite. It follows mice fine, but when mouse moves to left side of screen (x) the gun is upside down.. I've trial and error various code but no fix.
Anyone able to help, assuming some sort of calculation is required?!?
Hopefully images work to show... gun is basically upside down!
Please login to see this attachment.Please login to see this attachment.