Sprite Mirror when mouse goes over angle

Get help using Construct 2

Post » Fri May 31, 2013 3:10 am

I have a 2D platformer game where you use the mouse to aim the gun. Wherever you move the mouse thats where the gun aims.It can go in a full 360 circle. The problem is I want there to be a line up and down like this = |
and when the player is running to the right but shooting to the left his motion is still going to the right but he is facing backwards as to see where his bullets are going. I want it so when the mouse goes over that line the player mirrors. If that makes sense :Dtaborgreat2013-05-31 03:59:43
B
9
S
1
Posts: 42
Reputation: 622

Post » Fri May 31, 2013 6:46 am

Maybe something like.
If Mouse.X < Player.x Then Mirror

B
100
S
31
G
11
Posts: 1,552
Reputation: 21,497

Post » Fri May 31, 2013 7:14 am

Thanks so much dude !
B
9
S
1
Posts: 42
Reputation: 622


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 7 guests