Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks for the Callback features !!

Although now I have a problem with a global variable.

Variable <unknown_object>.id(15, -2147483648) cannot be resolved.
 at gml_Script_TGMS_Variable_Get (line 93) - return variable_instance_get(_prefix.id, _postfix);
############################################################################################
gml_Script_TGMS_Variable_Get (line 93)
gml_Script_TGMS_TweenPreprocess (line 640) - _pData[i] = _pValue == global.TGMS_STR_AT ? _preOp*TGMS_Variable_Get(_target, _variable, _caller) : _preOp*TGMS_Variable_Get(_target, _pValue, _caller);
gml_Script_TGMS_Tween (line 528) - TGMS_TweenPreprocess(_t);
gml_Script_TweenFire (line 70) - return TGMS_Tween(TweenFire, _args, 0); // 3rd argument is not used here...
gml_Object_oFX_zoom_in_Create_0 (line 26) - Tween[0] = TweenFire("~inExpo", "$", 1, "global.Camara_zoom>", 1);

Try removing "global." and just write "Camara_zoom>"

Let me know if that works for you.

Currently, TweenGMS automatically finds global variables without using the 'global.' prefix. I might change this in the future to avoid confusion.

It worked! Thanks a lot!