This example shows how to set up basic platformer jumping physics. Click "see inside" so see the code and comments describing the process left and right to move up to jump
thanks to fezzinate for the physics it really helped