I tried to make a way to make a character slide in a platformer. This is how it turned out. You can adjust the values as you like. WASD or arrow keys to move
I used @griffpatch 's platformer tutorial. The rest is all by me.