How to make a wall-jump and dash ? (pygame)

How to make a wall-jump and dash ? (pygame)
0

I’ve fully used this tutorial : https://www.youtube.com/watch?v=5q7tmIlXROg&t=124s
So the code is the same as his ( download in description) and I wanted to go further with it and get to map-making with I really like but first of all, I need some more mechanics.
I’ve actually asked Him How to do it and I fully understand that https://imgur.com/a/kw4iAAx
same with dash with would simply be the player moving like twice speed in x direction but I don’t know How to write it down.
1 line of code will really help and I will really appreciate if you get me more depth on Why you did it that way so I don’t have to keep asking questions about it :ok_hand: