Do you think you can make the player jump? Also, when I walk sideways into the right/left wall, I can clip through it.
I also have a suggestion how to improve the wall collision. I think how you made the player stop at a wall is move the player back to where it was before it touched the wall. Unfortunately, this makes it so you can’t slide against a wall like you usually can. To fix this, depending on which side of the wall was touched, it only changes the X and Y of the player For example, if you touch the left or right side of a wall, it changes the X to where it was before while doing nothing with the Y value. And the converse happens for when you touch a top/bottom side of the wall.