Check platform moving angle as a condition?

Get help using Construct 2

Post » Sat Feb 07, 2015 3:32 pm

I see it's possible to use Platform.MovingAngle as an action, but I'd like to test the platform moving angle as a condition, but it isn't appearing in the sprite conditions. Any ideas?
B
37
S
11
G
9
Posts: 956
Reputation: 8,415

Post » Sat Feb 07, 2015 3:41 pm

You can do System -> Compare two values -> player.Platform.MovingAngle to another value
B
12
S
7
G
7
Posts: 447
Reputation: 4,270

Post » Sat Feb 07, 2015 5:45 pm

Coin-coin le Canapin wrote:You can do System -> Compare two values -> player.Platform.MovingAngle to another value


Ahh, THAT'S how to do expressions, thanks so much! :D
B
37
S
11
G
9
Posts: 956
Reputation: 8,415

Post » Sat Feb 07, 2015 6:06 pm

oh, by the way, System conditions don't pick instances. But I assume you only have 1 player object at any time so it should not be a problem for this situation.

What is platform.MovingAngle? are you referring to angle of gravity of platform behavior?
B
16
S
7
Posts: 301
Reputation: 2,696

Post » Sat Feb 07, 2015 6:19 pm

MovingAngle
Get the current angle of motion (which can be different to the object's angle), in degrees.

https://www.scirra.com/manual/87/8-direction
B
12
S
7
G
7
Posts: 447
Reputation: 4,270


Return to How do I....?

Who is online

Users browsing this forum: AekiroStudio, Aquanex2 and 2 guests