-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TRANS_SPRING
interpolation option to tweens
#64680
Conversation
TRANS_SPRING
interpolation option to tweens
You used your master branch again... You will likely have issues again when you start making changes after the review or need to rebase. And with that, please use a more descriptive commit message, e.g. what I changed the title to. |
scene/animation/tween.cpp
Outdated
@@ -45,6 +45,7 @@ Tween::interpolater Tween::interpolaters[Tween::TRANS_MAX][Tween::EASE_MAX] = { | |||
{ &circ::in, &circ::out, &circ::in_out, &circ::out_in }, | |||
{ &bounce::in, &bounce::out, &bounce::in_out, &bounce::out_in }, | |||
{ &back::in, &back::out, &back::in_out, &back::out_in }, | |||
{ &spring::out, &spring::out, &spring::out, &spring::out }, // Spring is the same for each easing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said above, I think this comment is probably a wrong. It should be possible to implement in/out/inout/outin the same way as Bounce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you mean by "the same as Bounce", but in the previous PR it was settled that it's ok if spring implements single easing IF it's documented. Not sure if bounce fits here this way.
59d0457
to
e382216
Compare
github misleading us once again? |
Yes... |
Thanks for all the help! I hope everything is now in order.
my proposal: godotengine/godot-proposals#4212
my other attempt at a pull request: #58999
Production edit: Closes godotengine/godot-proposals#4212