2015-02-06 115 views

回答

0

我從GSAP論壇得到了解決方案,其中包含了遊戲中的兩個元素。

TweenMax.set(".gsap",{rotation:45}); 
TweenMax.set(".container2",{rotation:-45}); 
TweenMax.to(".container2",1.5,{rotationY:180,repeat:-1}); 

http://codepen.io/MAW/pen/bNYWbx

儘管如此,好奇地想知道最好的方法可行