Posted December 28, 2021 by Stephen Loney
#gamemaker #gml #gms2
Beta 10 for TweenGMS 2 is now available!
(Technically, I've skipped over "Beta 9", but don't worry about that!)
It is my aim for this to be the final beta before a stable release. After some documentation improvements, I'd also like to throw this beta onto the GameMaker Marketplace. Please let me know ASAP if you come across any issues.
Please be aware that there have been changes made to how callback targets are handled. You should mainly only notice a difference if you have used methods for callbacks. Previously, methods were not being assigned explicit targets. But now they are! So please make appropriate changes if this affects your existing code. Make sure intended instance/struct environments are being used for method callbacks. (Note: passing the undefined keyword as a callback target will maintain a method's original instance/struct environment)
Also note a couple more potentially code-breaking changes:
- Changed TweenGetDefault() and TweenSetDefault() to TweenDefaultGet() and TweenDefaultSet()
- Changed naming for legacy global "health" and "score" to "health!" and "score!"
The link below is an update log for beta 10 (and beta 9):
Beta 10 Update Log