Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 KineticJS 中反复从左到右移动图像?
另外,如何更改动画循环的速度?
如果您使用的是 Kinetic.Image,则可以使用 yourImage.move(yourNewXCoordinate, yourNewYCoordinate)。为了速度,我建议您使用 greensock 的 TweenMax。这是链接http://www.greensock.com/gsap-js/