Hello!
I'm working on a Mario-like platformer on my end. I noticed that my controls for swimming and going up and down slopes are weird. First I slide down slopes instead of sticking to them.
https://pastecode.io/s/wp03ace9
Then I pretty much have to start over because while I can manage the basics of Mario-like swimming, I can't get the more complicated details right. The player leaves water too easily and if you were on ground, you swim up too high.
https://pastecode.io/s/cxnakaz0
It's kind of a mess, and I don't know when to start.