-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Enhance Tweening #353
Comments
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. |
Oh, wow. I've been using Timer.schedule. I replaced all of those calls with Game.loop().perform() and that fixed multiple problems, haha. Thank you!! |
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: