TweenGMS 2 Beta 4.2 (struct target fix)


Another TweenGMS 2 beta update has gone up with fixes for struct targets. Shoutout to squircle for pointing this issue out.

Overall, this update *should* be more stable.

 Additionally, the keywords *self* and *other* can now be used as valid tween targets. e.g. TweenFire(self, ...) / TweenFire(other, ...)

Also! When using Start or Destination strings, you can now optionally use "self" or "global" to explicitly select an environment for the variable. So, you can do the following...

TweenFire("?", other, "$60", "x>", "self.x+100") 

This would tell the tween target (other) to move to the calling instance's x plus 100. As was already the case, if no explicit environment is specified, TweenGMS will automatically look for the variable in the target environment. If it doesn't exists, it will look for it in the calling environment. At that point, if it STILL doesn't exist, TweenGMS will then look for the variable in the global scope. If it still doesn't exist... *Kaboom* ... you'll get an error.

Anyhow, let me know if any errors pop up!

-Stephen

Files

TweenGMS 2.0 Beta 4.2 (Requires GMS 2.3.1) 66 kB
Jan 03, 2021

Get TweenGMS

Leave a comment

Log in with itch.io to leave a comment.