Use WASD or arrow keys to move, and stick onto the top and bottom of platforms. Hold e for 0.5 seconds to detach from the bottom. This is also pretty much a test so it's not the greatest.
I used a gravity engine from a scratch book