slowdown X velocity during jumpframe move

NED

Well-known member
I'm coding a jumping move.
Some anti air move that will catch enemy in mid air.

I have a velocity problem with the attempt.
Character jumps into a diagonal motion with a jumpframe.
Then start to come down with gravity. But X velocity is really to high during this moment.
I would like to slowdown x velocity, to have something like that
acending part X=6 Y=1.7
descending part X=1 Y="normal gravity"
This is just some simulation. I'm not aiming this exact value, just want X velocity to be slowdown act peak of jump

thanks
 
Let me post a picture to explain the type of jump

1st is what I have with jumpframe
2nd is what I need

i4YJwWX.png
 
Why not change velocity at peak of the jump? you can use dasher function for that
Unless, you want the slowdown effect to work based on previous velocity, that would require other script
 
Thanks so much Bloodbane!  :D
This dasher function fixed the problem.
I had it in my script file and never actually used it.
I never knew it could overwrite velocities.
 
Back
Top Bottom