Set Gravity

Get help using Construct 2

Post » Fri Nov 22, 2013 2:49 am

I have my game set to when
KEYBOARD> Shift is down > set platform gravity to -85
then
KEYBOARD> on Shift released > set platform gravity to 125

The intention is to make the object float like his has a jet pack when shift is held then drop like a rock when shift is released, and it works....sorta.

The gravity stays at -85 when you release the shift button, so while he drops like a rock you jump up in the air like its halo.

somebody help me fix this.
B
1
Posts: 1
Reputation: 127

Post » Fri Nov 22, 2013 2:57 am

Try making an event where if y is = to your platform height then set the gravity to 100.
B
62
S
20
G
56
Posts: 1,077
Reputation: 36,021

Post » Fri Nov 22, 2013 6:34 am

Try else condition maybe that can work. But it will not work with Trigger conditions.



B
97
S
20
G
15
Posts: 198
Reputation: 14,596


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests