TweenGMS v2.0 Beta 3


TweenGMS v2.0 Beta 3 is now available for download. 

It adds various bug fixes and a couple of new features as listed below...

[Changes since Beta 2]
-Improved general stability
-Greatly improved YYC compile time
-Fixed "image_blend" property causing error
-Fixed "@" and [100] start/dest support for struct properties
-Fixed TweenPlay() failing when using "ease" strings or Curve*
-Fixed TweenPlay() not supporting 0, -1, -2 tween id indexing
-Updated TweenExists() to support struct targets
-Added fix to prevent invalid duration values
-Fixed issue with TP*() failing with to/from ">"/"<" strings
    TweenFire("$60", TPList("myList>", 0), 100); 
-Added TGMS_StringEase() for setting custom ease/curve strings
    TGMS_StringEase("smooth", SomeEaseFunction);
    TGMS_StringEase("butter", SomeCurve, someChannel);
    TweenFire("$60", "~smooth", ...)
    TweenFire("$60", "~butter", ...)
    
-Functions can now be executed as properties...
function Spark(value,target,args)
{
    var _t = target;
    if (args == undefined){
        effect_create_above(ef_spark, _t.x, _t.y, 1, c_white*value);
    }
    else{
        effect_create_above(ef_spark, _t.x, _t.y 1, args);
    }
}
      
// Pass function with no arguments
TweenFire(id, "io", 2, 1, 0, 1, "x>", 100, [Spark], 0, 1);
    
// Pass function with argument 'c_green'
TweenFire(id, "io", 2, 1, 0, 1, "x>", 100, [Spark, c_green], 0, 1);

Files

TweenGMS 2.0 Beta 3 (Requires GMS 2.3.1) 77 kB
Dec 02, 2020

Get TweenGMS

Comments

Log in with itch.io to leave a comment.

Hi, thank you for your great work!!

I am testing TweenGMS 2.0 Beta on GMS 2.3.1.

When I run a project under local VM anything works fine without errors, when I try to launch it in HTML5 all I get is a blank page and the browser console reports 

Uncaught SyntaxError: missing ) after argument list

I have tried several projects and the error is always the same, but the line which refers changes each project and the code missing the ")" seems always different.

GameMakerStudio2 2.3.1.542
TweenGMS 2.0 Beta 3
Mac OS Big Sur 11.1
Any browser

Hey! I actually have this fixed for a coming update. If possible, I will try to make it available for download later today.

New update is now live! :)

Great, i will check as soon as possible!

Thank you very much!