Can someone give a quick example of how to use the new option to change movie clip tweens at run time? I'm trying to change the y value of a tweened sprite at certain point during the game. Thanks
Allow Movieclip to tween properties through 'set()' method (just like GTween)
I might be mis interpreting this but I assumed it was referring to someTween:setValues(y = {100,200}), or something like that, I cant remember exactly how gtween does it.
It would be good if a function was available to let you know the frame counter for a particular movie clip...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
OK I guess I did mis interpret But just to make sure the horse is actually dead, there is no way currently to change a pre existing movie clips target values?
Comments
Allow Movieclip to tween properties through 'set()' method (just like GTween)
I might be mis interpreting this but I assumed it was referring to someTween:setValues(y = {100,200}), or something like that, I cant remember exactly how gtween does it.
So to be able to tween custom properties, you need to overwrite your sprite's set and get methods and do what you need to do with new value there
https://deluxepixel.com
But just to make sure the horse is actually dead, there is no way currently to change a pre existing movie clips target values?