I’ve created a MovieClip sprite that repeats an animation over and over. I want to move that sprite from one place on screen to another. I’ve achieved that with the following gtween.
GTween.new(animatingMovClip, 2, {x = xPos, y = yPos}, {ease = easing.inQuadratic}) |
However, I want to alter the sprite’s alpha over the course of that move, but not using easing.inQuadratic - I’d like it to use a different easing. How do I do that?
Comments
Likes: Favfly
I'm new to GTween. I've been using MovieClip, which is great... but now seems a lot slower the GTween.
Thanks.
Likes: totebo, antix
Likes: Favfly, totebo
Likes: antix
It could possibly be rewritten to use a single EnterFrame event to process a table of all currently running tweens too.
Im using this construction:
I was trying to do same thing with MovieClip, but there is no setters... you can only create new one. And i don't really like frame binding instead of time duration, but if it is more effective, then I will have to use it.
I have an old Nexus4 phone as my lowest target device.
Likes: antix