itch.io is community of indie game creators and players

Devlogs

TweenGMS v2.0 Beta 5

TweenGMS
A browser tool made in HTML5

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
Download TweenGMS
Read comments (4)