Search the Community
Showing results for tags 'useframe'.
Hello, I'm using TweenMax in a game I'm making for scripted events. While stress testing, I noticed TweenMax tweens get ahead when the game dips below the intended 30 fps. I tried setting the tweens to use frames, thinking it would tick at the game's current fps, but it still appears to update at a fixed framerate. The only difference being the number i enter for the delay or duration. Another thing I tried was setting TweenMax.globalTimeScale to the current fps divided by 30 every frame, but tweens never seem to initialize when using this method. In short, my game doesn't use a fixed framerate and was wondering if TweenMax is able to do the same. Thanks for your time!