Hello, I'm trying to make an identical control for my game, as in the video example.
I also checked on my device, there are 2 problems that I don’t know how to solve and Google doesn’t help me, like searching the forum.
1) Sliding if the hero is standing like in the video + I noticed that the sliding increases if the angle of the surface is larger. How to make a Sliding? I think that in the video example, the earth is an object - Tailmap
2) Acceleration on an inclined surface, how to do? If the hero is running uphill or downhill, then how to make his speed slower or faster?
I have an idea to put an invisible sprite in these areas and change the conditions of the hero's behavior from contact with it, but this idea is questionable.
https://youtu.be/yyaLx1n86GI