Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey!

I'd like to confirm your example....

TweenFire(apple.x, EaseLinear, 0, true, 0, 5.0, "x>", 50)

The first argument [apple.x] should just be [apple]....

TweenFire(apple, EaseLinear, 0, true, 0, 5.0, "x>", 50)

Structs are quite a new thing, so expect there to still be issues. I appreciate this being brought up. I can check and verify these things later.

I am writing this from my phone, so sorry if this text comes out messy :)

oh my bad, i got confused with the syntax when i wrote that post, just was trying to think of an example. but here's what i had that wasn't working (where _element is a struct like { x: 0, y: 0 }):

TweenFire("-duration", _tween_duration, "-target", _element, "x>", _x, "y>", _y);

this doesn't work and gives me this error:

Variable <unknown_object>.ref(100420, -2147483648) not set before reading it.
 at gml_Script_TGMS_Variable_Get (line 624) -               target = target.ref;      
but if i make the change i described in my post, it works.
(+1)

Thanks! I might look into this more tonight.

Thanks for the help! 

I was able to clean things up which hopefully will make things more stable overall.

The latest blog post mentions a couple other additions to the update.