You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when the frame rate is lower than max, tweens are taking longer to complete. For example, if I specify a duration of 3 seconds, my max FPS is set to 60, and the game is running at 40 fps, it's taking closer to 5 seconds to complete the tween. Not sure if that's the intended behavior for running at a lower frame rate or not. But if it is, it would be very nice to provide a callback that executes when the tween has actually completed. That way I can string tweens together and start one exactly when the one before it ends.
This is indeed more of an inconsistency with documentation rather than a bug. Tween durations (like most durations in the engine) are given in ticks, not milliseconds.
We should adjust the Docs to be more clear about that.
To chain Tweens, you could use Game.loop().perform(), by the way. (but still, callbacks are a future requirement)
What feature / which classes are you referring to?
The Tweening framework
Describe what could be enhanced.
The text was updated successfully, but these errors were encountered: