Problem with line of sight combined with Set Angle Towards

Get help using Construct 2

Post » Sat Sep 17, 2016 5:03 pm

If you're using my method then the object will face a certain angle and the animation will just switch with that angle change. Sounds like a specific logic problem so you'd have to share events or capx for someone to take a look.
B
47
S
17
G
81
Posts: 2,223
Reputation: 48,093

Post » Sat Sep 17, 2016 6:45 pm

Fixed it, thank you so much for your help.
I fixed this by removing move forward from line of sight and instead added a variable that when seen it activates the "Player.X" actions.
X < Player.X = Move forward 1 px (360 degrees)
X > Player.X = Move forward -1 px (Angle action taken away)
Now it works wonderfully.
B
7
Posts: 26
Reputation: 332

Previous

Return to How do I....?

Who is online

Users browsing this forum: Kyatric, Yahoo [Bot] and 51 guests