Help with Planet Physics and Jump

0 favourites
  • 4 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hello guys,

    I have a physical problem in my project.

    I have a planet where my player moves around it via the keyboard.

    When he jumps and is out of the gravitational field (yellow circle), I would like to retorar the standard physical and make him fall down naturally. But before falling, it is rising in veritcal. And I wish he just fell.

    Can you help me? (Sorry, but I can't permission to post URL about my .capx file)

    My file .capx https : //goo.gl/hQSjSJ

    To make it clearer understanding, I would make a game like TA Little Red Riding Hood

    I would like a result like this www . youtube.com/watch?v=paySxNHeuUI

    This is my EventSheet

    This is my layout game

    My player has a Platform behavior and my Planet have a Solid behavior (just it)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your description is vague and you need to post the image links in text.

  • gumshoe2029 My file .capx https : //goo.gl/hQSjSJ

    When the player leaves the gravitational orbits it is forced upward, but it should only fall.

    I would like a result like this www . youtube.com/watch?v=paySxNHeuUI

  • You probably want to use the sprite collision detection, then see if the Physics behavior has a flag something like:

    if Sperm sprite is colliding with planet sprite

    then

    Sperm sprite physics flag = off

    then you can just manually move the sperm sprite around the planet object.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)