I used Griffpatches tutorial(check it out) for the platformer mechanics then coded the rest by myself