Use this for your own scrolling platformers. Unfortunately, the jump part is not working the way it's meant to be(its meant to go diagonal but it doesn't) so if you know how 2 fix that, plz dont hesitate to ask :-D
I was gonna make this a proper game but I decided that it was too hard and did this instead.