don't click here

How do I make characters slide/run backwards?

Pink_bot

Press Start Screen
Dec 28, 2021
9
2
8
39
I couldn’t find any info on this in the sonic physics guide but in the genesis games sonic slides backwards when he can’t get up a slope. He can also run backwards on those steep slopes in marble garden zone. What code dictates which way the character sprites are facing?

Edit: I might have solved this. Sonic can coast backwards down a slope until you press an arrow key. if you press in the direction he's coasting he'll turn and face that way. if you press the other way he'll skid. If you hit a left/right spring (at least in sonic 3k) he'll face the direction it sends him.
 
Last edited: