If you don't undersantd there is a video of GMTK (sorry Brackeys) talking about the movement of Madelyn in Celeste, I know it a totally differrent game but I think it could give you some ideas.