Thanks to @voxelbear for the tutorial and @xamuil2 for platformer physics. I added proper wall collisions and a player shadow. There is still a slight issue with the depth sorting which I don't know how to fix, please lmk if you have a solution.