How do i slope platformer?

image
new problem, when the charcter goess on the slopes it just teleports to the top of the platofrm, how do i fix this?

Hi NiroMcMuffin, I have no platformer experience so maybe there is an easier solution than mine. But it looked like an interesting challenge so I had a go at it. I also learned from this post why hitboxes are important. Why Do People Use Separate Hitbox Objects? - #7 by Silver-Streak
In my example the hitbox has the platormer behavior.

If you had slopes in the other direction you could use a different slope object for it and a diferent angle in the actions. As you can see, jumping on the slope does not use the correct angle but there is probably some easy solution for it if it bothers you.

SlopedPlatformCharacterTest
The movement was smooth but in the gif it looks rough.




2 Likes