In this video I go over how to have the camera follow the mouse at different rates for x and y, as well as having the camera move away from a wall if the player is climbing it. Sorry for not being as consistent recently with my videos, I've had lots of school stuff going on recently so I haven't had too much spare time to work on these. Also, if you haven't seen my previous video on making a camera, this video relies on some of the things I did on that; so, watch it here:
• Smooth Pixel Art Camera