Skip to content

TimeScale all Tweens #127

Answered by KyryloKuzyk
peyman1959 asked this question in FAQ
Nov 16, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

@peyman1959

In my scenario, I want the player to be able to skip animations by speeding them up when the player clicks; however, I don't want other stuff to speed up too.

I have been thinking about adding a new PrimeTweenConfig.timeScale property and found a few potential limitations. If a user wants to speed up only a few selected animations but leave others unchanged, the PrimeTweenConfig.timeScale will still not be enough. And I imagine that would be quite a common situation. So it seems to me that adding PrimeTweenConfig.timeScale would be limiting.

Instead, I updated the implementation of the TweenGroup to also provide timeScale property and TweenTimeScale() method: #26 (reply in t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@peyman1959
Comment options

@KyryloKuzyk
Comment options

Comment options

You must be logged in to vote
1 reply
@peyman1959
Comment options

Answer selected by peyman1959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants