jdnichollsc Posted January 15, 2015 Share Posted January 15, 2015 Hi people! I am creating an animation in Phaser with TimelineLite because I want to be able to control the progress... APK generated with Intel XDK (Crosswalk): https://drive.google.com/file/d/0BzCYt2vtA7bJVXJvNGVSb2oya3M/view?usp=sharing I wonder if there is a way to reverse the animation of sprites when I revert the tween timeline... ¿Any idea to do this? Thanks in advance, Nicholls Link to comment Share on other sites More sharing options...
MichaelD Posted January 15, 2015 Share Posted January 15, 2015 If the animation of the sprites is done with TimelineLite/Max then simply calling .revert() will do the work. Or you can do //jumps to exactly 2 secondsmyAnimation.seek(2);To seek to that specific point of the animation. Also with a little more detail on what you are trying to achieve and some more information about the actual use of TimelineLite you can also post a question here: http://greensock.com/forums/forum/11-gsap/ jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted January 16, 2015 Author Share Posted January 16, 2015 How Can I animate the sprite with GSAP (frame by frame)? I post this question here http://greensock.com/forums/topic/11177-animate-phaser-sprite-with-tweenmax-frame-by-frame/ Regards, Nicholls MichaelD 1 Link to comment Share on other sites More sharing options...
MichaelD Posted January 16, 2015 Share Posted January 16, 2015 I saw that you found a solution. I would suggest mark this topic as solved so that others might locate it also. jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted January 16, 2015 Author Share Posted January 16, 2015 Hi Michael! Yes, I found a solution: http://codepen.io/jdnichollsc/pen/ZYeWEr and in GSAP forum http://greensock.com/forums/topic/11177-animate-phaser-sprite-with-tweenmax-frame-by-frame/ Thanks for your help! Regards, Nicholls Link to comment Share on other sites More sharing options...
Recommended Posts