TweenGMS v2.0 Beta 5


TweenGMS 2 Beta 5 is now available for download. 

Animation Curve IDs can now be directly used as *ease* arguments. With that, the EaseCurve() script has been removed, as it is no longer needed. Also, Function IDs are no longer supported. Any custom ease functions must be converted to be methods OR use EaseToCurve() to convert it to an animation curve channel. Please adapt existing code for this change as needed.

Also, please note that there is a known issue with tweens using struct targets. Currently, they are NOT being automatically destroyed. If you have tweens with struct targets using endless play modes (patrol, loop, repeat), please use TweenDestroy() to manually destroy the tweens as needed. Tweens using modes "once" and "bounce" could be fine but check these if experiencing unintended behaviour. I'm hoping for this to be resolved with a future GMS update.

Update Log:

-Animation Curves IDs can now be directly used as ease arguments
 * Custom ease functions must be converted to methods
 * Removed EaseCurve()
 * Removed EaseChannel()
 
-An empty string can now be used to indicate linear ease
 * e.g. TweenFire(id, "", "once", true, 0, 1, "x>", 10)
 
-Updated EaseToString() 
 * Fixed upper/lower case handling (case no longer matters)
 * Channel argument for animation curves is now optional
 
-Updated TweenSet()
 * "rest" now supported
 * "target" now supports structs
 * "ease" now supports animation curve ids
 
-Ease() now supports Animation Curve IDs and Channels
-Added string cache for TGMS_StringLower to improve performance
-Fixed potential issue with TweenScript()/TweenScriptMore()
-Fixed crash with TweenSystemClearRoom()
-Fixed issue with ease swapping when using Ease* methods

Files

TweenGMS 2.0 Beta 5 (Requires GMS 2.3.1) 67 kB
Jan 08, 2021

Get TweenGMS

Comments

Log in with itch.io to leave a comment.

(+1)

Great work man, just replaced an old version of TweenGMS and no issues

(+1)

That is good to hear!

Do you know which version you upgraded from? I'm interested in people's update experiences. Especially as some people seem to be using versions from years ago! ^.^

(2 edits) (+1)

Hiya Stephen,

I just checked an old backup, I was using version 1.0.3! Update was seamless like I mentioned which is great.

Have a great day :)

Good stuff. Thanks!