Platform Gravity Angle Set - Reverses Speed? Bug?

Get help using Construct 2

Post » Tue Oct 25, 2016 7:38 pm

Hi guys,

So I tried out the action for Platform behavior "Set Platform angle of gravity" to 270 degrees (making the player's gravity turn upside down) and noticed when I move left and right I got in opposite directions. After sing the Debugger I noticed its Vector X is going negative when going right and positive on going left. (Reverse of speed)

Is this normal...?

If so, could someone explain it, and show me a way to workaround this to achieve proper movement direction according to the new gravity?

Thank you!
-Evan
B
13
S
3
G
3
Posts: 62
Reputation: 2,192

Post » Tue Oct 25, 2016 7:46 pm

it goes left according to his point of view (it goes to the left of the down gravity, so to the right of the up gravity, not sure I make much sense, note this occurs the same way with gravity to the sides), so this is the expected behavior.

you will have to hard code the controls depending on the gravity using the simulate control actions rather than using the default controls.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093


Return to How do I....?

Who is online

Users browsing this forum: jkmalau and 16 guests