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

Improve Tween.set_ease and Tween.set_trans documentation #98689

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

Meorge
Copy link
Contributor

@Meorge Meorge commented Oct 31, 2024

This PR addresses godotengine/godot-docs#10178 by improving the documentation for Tween.set_ease and Tween.set_trans. Specifically, it explains that the new default ease/transition type from the method calls only applies to Tweeners appended after the calls are made. It also provides short example snippets of GDScript code to demonstrate.

@Meorge Meorge requested a review from a team as a code owner October 31, 2024 04:43
@Mickeon Mickeon self-requested a review October 31, 2024 19:51
@Mickeon Mickeon added this to the 4.4 milestone Nov 1, 2024
…ly apply to later `Tweener`s

Update doc/classes/Tween.xml

Co-authored-by: Micky <[email protected]>

Update doc/classes/Tween.xml

Co-authored-by: Micky <[email protected]>

Fix whitespace issue

Remove an unnecessary linebreak

Update doc/classes/Tween.xml

Co-authored-by: Micky <[email protected]>

Fixed `set_trans` wording to match `set_ease` and removed static typing from examples
@Repiteo Repiteo merged commit a5c5504 into godotengine:master Nov 12, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 12, 2024

Thanks!

@Meorge Meorge deleted the tween-docs branch December 1, 2024 00:52
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.

Tween.set_ease and Tween.set_trans don't specify that new default only applies to later Tweeners
4 participants