This code should just help you get off your feet when starting a platformer
I did this for my studio. Follow me and @g9r5tf