Press left to go left, Press right to go right, Press up to jump. Simple, right? Also if you press down while in mid air, you will descend quickly (inspired by super smash bros) This is a purple blob on a random planet, and there is no friction. Also if you set the gravity to 0 then jump, you will fly away to victory.
The vector velocity was calculated using the Pythagorean Theorem.