Posted December 30, 2020 by Stephen Loney
#gamemaker #game #maker #studio #gml #tools
TweenGMS 2 Beta 4 is now available for download!
The HTML5 target is once again supported! Other various changes have been made "under the hood", so please let me know if you find any issues and I will try to fix them quickly.
Please read the other changes below...
====================== Changes Since Beta 3 ====================== -HTML5 fixes! -TPFunc*() now supports struct targets -TPFunc() now properly binds method/function to set target environment -Removed TPFuncX() ** TPFunc() now requires a target to help prevent errors caused by assuming wrong target environment -Modified "normalized duration" calculation to be divided by the number of properties ** You may need to adjust for this change! Please test this change if you've used normalized durations! -Shared tweener now created immediately at very start of game ** Do not destroy or deactivate o_SharedTweener -Ease algorithms must now be methods or animation curve channels -- function ids no longer supported!! ** EaseFunction = function() { ... } // SUPPORTED function EaseFunction() { ... } // NOT SUPPORTED -- please convert to method -Fixed TGMS_FetchTween mishandling structs ** Caused errors with {group: 0} and {tween: tID} when attempting to select tweens -Added EaseChannel() ** Naming convention may change in the futurue -Fixed image_blend... again? -Fixed TweenSet(tID, "group", 0) not working when trying to assign group -Improved TweenSet() and TweenGet() -- still in progress -Added support for property methods inside struct targets -Improved performance when easing with ease *functions* (not curves) -Changed tween default to use CurveLinear instead of EaseLinear -- improved performance -Prevented possible issue where manually creating shared tweener can cause conflict -Moved default property methods into the global {TGMS} struct environment -Changed built-in properties to methods -- improves performance -Added optimised default properties for variables 'z', 'depth', 'friction', 'gravity', 'gravity_direction' -Fixed ("-time",10) and "=10" not setting time inside Tween*() calls -Fixed bug with TweenPause() trying to access an non-existing script -Event map now marks event lists -- may improve tween destruction performance for tweens with event callbacks -Removed TweenGMS extension file -Removed TGMS_NULL()