Character getting stuck on slopes

0 favourites
  • 5 posts
From the Asset Store
5 Types of Touch Buttons containing 90 touch buttons from D-Pads to Touch Joy Sticks and more.
  • I'm trying to make a simple platform game. However, my character gets stuck on some slopes.

    Angles up to about 50 degrees seem to be working fine, however, at higher angles my character will get stuck.

    Now I'm trying to make the character slide down steep hills, so he won't be able to jump and twitch his way up.

    I've uploaded the .capx here. The first slope is working fine and should stay as it is, the second one is too steep to climb, so I want it to make the character slide down, the problem is that it results in a twitchy slide and some more twitching when you walk into it from the side.

    Can anyone give me advice on getting this to work properly?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There was some discussion about this here.

    Basically, you can use detector sprites to check if on a hill or not, and then add events according to that.

  • I have some sort of hill detector in my .capx file.

    I realize this might be a stupid question, but what action should I use to make him slide down? At the moment I'm trying to make him slide by changing the Vector X, is there a better way to do this?

    Or should I just avoid steep slopes in general?

  • I made mine slide down by making the vector X push him away from the slope a bit. It worked OK, it wasn't the smoothest but still manageable.

  • Bump - Still needs a answer. personally i think we should avoid steep slopes.

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