[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
13
S
7
G
6
Posts: 84
Reputation: 4,008

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,689

Post » Tue Aug 13, 2013 11:59 pm

can you give me an example
B
13
S
7
G
6
Posts: 84
Reputation: 4,008

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,689

Post » Wed Aug 14, 2013 3:26 am

ty
B
13
S
7
G
6
Posts: 84
Reputation: 4,008


Return to Construct 2 General

Who is online

Users browsing this forum: disneycom2, kazdalugur and 9 guests