[request] Platform behavior get gravity angle

Discussion and feedback on Construct 2

Post » Tue Aug 13, 2013 10:23 pm

Please add in an expression to get the platform angle of gravity number. It would be really useful.JackieChan2013-08-13 22:24:09
B
10
S
4
G
6
Posts: 82
Reputation: 3,627

Post » Tue Aug 13, 2013 11:07 pm

It's really not that hard to keep track of this with your own instance variable.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Tue Aug 13, 2013 11:59 pm

can you give me an example
B
10
S
4
G
6
Posts: 82
Reputation: 3,627

Post » Wed Aug 14, 2013 2:24 am

Whenever you set the player gravity angle, set an instance variable (e.g. 'GravityAngle') instead. then, you just need one event saying:
every tick: Set player platform gravity angle to Player.GravityAngle
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Wed Aug 14, 2013 3:26 am

ty
B
10
S
4
G
6
Posts: 82
Reputation: 3,627


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests