Adjust Mouse Aim on Rotation (CAPX included)

Get help using Construct 2

Post » Mon Dec 09, 2013 7:21 pm

Hey there - just working on my game and came into an issue I cant seem to wrap my head around - if anyone has any insight or could offer some guidance I'd be immensely grateful. :)


Use mouse to aim, left click to shoot. Bullets line up perfectly with mouse cursor, as expected.

Now use A or D keys to rotate the Player, and in turn the screen. Once you are rotated, especially at "odd" angles (like 41 degrees, or 76 degrees, etc) the bullets no longer line up with the mouse cursor. They are slightly off, but never by a consistent amount.

Im thinking it has something to do with the angle of the gun itself, never properly lining up or something, but no matter what I try i cant seem to get it working where the accuracy is always 100% on the mouse cursor..

Any ideas? Thank you so so much in advance!80bit2013-12-09 19:22:18
Made Cosmochoria -
Made Slayaway Camp -
Made Friday the 13th: Killer Puzzle -
Posts: 387
Reputation: 5,676

Return to How do I....?

Who is online

Users browsing this forum: burak22 and 13 guests