Issue with Detect if Player is on a Slope


  • Posts: 1
Hi there ,  I'm Jeremy.
I was wondering.
Is there some way to detect if an actor is on a slope? I was hoping I could make the actors not slide down it, or maybe enable certain actions while on a slope.
Any help would be great.
Thank in advance.


  • Posts: 1806
You can add simple text data to tiles in the tile editor. The using blocks under COLLISIONS > COLLISION POINTS you can recall that data.

You could simple add the text 'slope' to the tiles and check for that. As an example, I'm working on a game that makes use of this by adding the angle of the slope as a number to the tile so I can use that to speed up or slow down the actor accordingly.

Also, you can use friction to stop your actor from sliding down a slope.
Current Projects:
Retro Redux Compilation (NEW).
Retro Redux (untitled) (NEW).
I always appreciate useful feedback. Thank you.