0 Favourites

How do I use gravity

  • hey everybody,

    I'm new to construct 2, and I have a problem that I can't seem to get solved. I would like to make a platform game with gravity. But not like the most tutorials explain (with planets) but what I would like is to be able to change cravity in a square. So you begin normally (jump over obstacles and stuff) and at a certain point I would like to change gravity to the right, and later maybe to the left and so on...

    Any help would be very appriciated

    Thanks

  • hey everybody,

    I'm new to construct 2, and I have a problem that I can't seem to get solved. I would like to make a platform game with gravity. But not like the most tutorials explain (with planets) but what I would like is to be able to change cravity in a square. So you begin normally (jump over obstacles and stuff) and at a certain point I would like to change gravity to the right, and later maybe to the left and so on...

    Any help would be very appriciated

    Thanks

    have you tried add actin -> system -> set layout angle feature?

  • yes I tried that but the gravity turns as wel

  • yes I tried that but the gravity turns as wel

    I misunderstood then, I thought you wanted that changed the gravity too!

    so... setting the angle of gravity of the object player (platform behavior)?

  • You can change gravity on a platform sprite in it's event settings however if you want true physics effects then you need to study the physics commands.

    Play with all the platform settings in the events to see what can be accomplished and you can change jump strength, hang time and gravity to get some great floating effects.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • NN81, you probably didn't misunderstand. What I mean is that when forexample I jump against a wall I would like to turn the whole level so that the wall becomes the floor. But when I use system, set layout angle the level turns but the gravity also turns. so the gravity pull would be on the right or something. And I would like the gravity to stay pulling downwards.

    @lamar, you're probably right, I should study more of the program before trying to do these kind of things

    Thanks for the repaly's, must appriciated

  • I think I found it: system set layout angle and player set platform angle to gravity to floor (0) degrees

    thx guys (love this program)

  • I think I found it: system set layout angle and player set platform angle to gravity to floor (0) degrees

    thx guys (love this program)

    wonderful!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
168 15,519
Lumicreative's avatar
Lumicreative
Unread hot topic
99 10,137
karshinkoff's avatar
karshinkoff
Unread hot topic
56 4,733
MPPlantOfficial's avatar
MPPlantOfficial