Added some stupid stuff. Also, made jumping precise. if you set velocity.y to -12, it will move 12 spaces upwards always.