#Invert tween transitions?

1 messages · Page 1 of 1 (latest)

wild knot
#

Honestly I think it's difficult for me to tell what's going on. I think tweening velocity is not going to be as clear as if you tweened position

fossil bluff
#

I tried position but it gets super jank because of the collisions. Plus I just want the thing to slide on the floor fast then slow down, which is the TRANS_EXPO eased out

wild knot
#

Try removing extra stuff. Remove the enemy, remove the attack animation, so you can just see the movement alone. I think it probably is easing just fine, you just can't tell because of the nature of the movement you've made

#

Part of the problem is that it happens really fast

fossil bluff
#

Well, you can see one image the object slides about 5x as far and is much slower when it has the .set_ease. You can also see how delayed it is without it. It's two totally different curves happening

wild knot
#

I mean, it could easily be slowing down

#

It's not going to be very obvious because most of the movement from the expo curve is going to be going fast

#

Increase the _time and see if you can see a difference then

#

Also remove the parallax from the background so you can measure movement easier

#

Also record a clip of true linear to compare to

fossil bluff
#

I mean, its already very easy to see how different these two examples are. Increased the time and it is even more exaggerated just how different they are.
Regardless, adding set_ease is not reversing the TRANS_EXPO

wild knot
#

I think it is

#

I think it's slowing down at the end

#

It's definitely making a difference, and I don't think it's linear in that second clip

fossil bluff
#

If it is, it is no where near an Expo curve though. at best it would be a very mild sine.

wild knot
#

Keep in mind you aren't applying an expo transition to the position you're applying it to the velocity

fossil bluff
#

Yes, I know. But it works if I have it ease in, but not if I ease it out. I just want it to ease out.

wild knot
#

I think it is working. Maybe you actually want a gentler curve? Try quad or something

#

Also do you change the velocity at all in the movement code? Any friction or anything?