Down

  • 49
    This content is deleted
    Game
    Down
    95 favourites

    Platform Gravity Game.

    9 years ago
You're viewing a single comment in a conversation. View all the comments
  • 4 Comments

  • Order by
  • Glad you liked it.

    I'm afraid I cannot give a full answer to your question, it's been a long time.

    Construct 2 does have collision detection, so the game engine does that bit for you. When you get a collision I think it gives you the normal so you set the gravity direction to be the opposite of that.

    For circles though I do recall I had to do some tweaks to ensure gravity was always towards the centre of the circle while the player was in contact with it.

    • Thank you for the response!

      I still don't quite understand how to set the gravity at an angle for some reason, and don't understand how you made those extremely smooth camera rotations! This is a very well made game, and definitely should be in the showcase! Would you care to explain it to me though?