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

[3.x] Add YieldTweener #92270

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from
Open

[3.x] Add YieldTweener #92270

wants to merge 1 commit into from

Conversation

Marigem
Copy link

@Marigem Marigem commented May 22, 2024

Backport of #79712. Closes godotengine/godot-proposals#7337

Allows a tween (SceneTreeTween in 3.x) to wait for signals to be emitted, allowing for an even broader scope of animations with a single tween and less lines of code.

set_unbinds() is not possible in 3.x. Instead the signal gets connected to a vararg method which catches any arguments that the signal might emit with, this also removes the need to know how many arguments a signal will emit with.

exampleproject.zip

Co-authored-by: Tomasz Chabora kobewi4e@gmail.com

@Marigem Marigem requested review from a team as code owners May 22, 2024 22:52
@Calinou Calinou added this to the 3.x milestone May 23, 2024
@Marigem Marigem force-pushed the 3.x branch 5 times, most recently from b1a47a5 to 145d5f7 Compare May 23, 2024 07:04
@AThousandShips

This comment was marked as resolved.

@AThousandShips

This comment was marked as resolved.

@AThousandShips

This comment was marked as resolved.

@Marigem
Copy link
Author

Marigem commented May 23, 2024

You didn't add the empty line, it's required, and you removed the < and >, please copy exactly

I copied it from the wrong place that time, hope it's ok now.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
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.

None yet

3 participants