if your looking for a smooth player controller with a scrolling camera that can also zoom in and out, you may want to check out my other project: https://turbowarp.org/626084518/fullscreen?interpolate&offscreen&hqpen/ but if you use it, just note that it heavily relies on turbowarps ability to work with sprites off screen
this is my first player controller and it's actually not that bad. most of the code came from me