I got a problem with gravity effecting velocity.
my gravity works like this:
you.vl.y-=grav*speed; // the speed is for frame limting.
Now lets say i wan't to change the y velocity so it will throw me up to 100. I can do this but what i want is to change the gravity and still have the velocity get me to 100.
So how would i do this? I can't figer it out.