Platform with default controls set to no, problem.

Get help using Construct 2

Post » Sun Jun 03, 2012 12:02 am

Just like the subject says. I got a sprite with the behavior of platform with the default controls set to "No". On the up and down keys being pressed i set the gravity angle in the appropriate direction to simulate the effect i'm looking for. The problem is that the speed of the object speeds up or starts at the speed from the other direction. The speed should be zero and gradually increase based on the platform properties. I would set the speed to zero when i change sprites direction, but that option is not available.

To see what i mean, as the blue guy either drops or rises hit the up or down key before it reaches a grey solid object.

examplerfisher2012-06-03 00:11:07
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sun Jun 03, 2012 12:31 am

Set VectorX and vectorY to 0
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jun 03, 2012 12:50 am

That worked, thank you.
B
17
S
9
G
7
Posts: 249
Reputation: 6,922


Return to How do I....?

Who is online

Users browsing this forum: farfetchd83, Laurent, makkancs and 26 guests