It's not a platformer but you can use the code. Use the arrow to move, w to change the gravity and space to dash. I'm still working on the dash...
See more project on my studio : https://scratch.mit.edu/studios/35963832