How do I Change the Player gravity (run trough the ceiling)

Get help using Construct 2

Post » Thu Jun 11, 2015 2:59 am

I cant find out how to make my caracter running to the top.

The flow is:

Project runner, runnig to right.

-While running press jump
-In the air change the character's gravity
-The character will be running through the ceiling now
-While running through the ceiling press jump again
-In the air the characters gravity should change so he will run trough the bottom now

I already try Platform.Gravity = Platform.Gravity * -1, but the behavior is weird, it just doesn't work as expected.
B
3
Posts: 1
Reputation: 227

Post » Thu Jun 11, 2015 3:07 am

What you are looking for is Angle of Gravity. Set it to 270degrees to go up. Then set it to 90 to go down. You'll also have to flip your sprite as well.
B
33
S
8
G
2
Posts: 100
Reputation: 2,635

Post » Thu Jun 11, 2015 5:43 am

platformer |set world gravity = world gravity * -1

does not works?
B
7
S
1
Posts: 28
Reputation: 481

Post » Sat Sep 12, 2015 7:04 am

Set Platform Gravity to -1000
B
4
Posts: 1
Reputation: 202


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests