Set Angle to an Enemy when Mirrored

Get help using Construct 2

Post » Tue Feb 18, 2014 7:28 pm

In my Game I try to get my pistol aiming the Enemy. When the gun is not mirrored it works fine, but when the gun is Mirrored the Angle is 180 on the wrong side. How can I fix that?
Here a Picture of the Event:




And a GIF for example:



B
5
S
1
Posts: 7
Reputation: 556

Post » Tue Feb 18, 2014 7:36 pm

On the mirror action, set the required angle to self.angle -180

Also, in many similair cases, developers pin that sort of things to the player. And when they mirror, that objec is mirrored too.lennaert2014-02-18 19:38:25
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, kellehk, R0J0hound, tarek2 and 37 guests