Skip to content
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

Merged
merged 0 commits into from
Aug 23, 2022

Conversation

rakkarage
Copy link
Contributor

@rakkarage rakkarage commented Aug 21, 2022

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

@rakkarage rakkarage requested review from a team as code owners August 21, 2022 02:32
@Chaosus Chaosus added this to the 4.0 milestone Aug 21, 2022
@YuriSizov YuriSizov changed the title Spring Tween Add TRANS_SPRING interpolation option to tweens Aug 21, 2022
@YuriSizov
Copy link
Contributor

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.

@@ -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.
Copy link
Member

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.

Copy link
Member

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.

@Zireael07
Copy link
Contributor

github misleading us once again?

@YuriSizov
Copy link
Contributor

Yes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Spring/Berp Tween transition mode
7 participants