FFCreator icon indicating copy to clipboard operation
FFCreator copied to clipboard

文字动画addAnimate颜色变换没效果?

Open CavinHuang opened this issue 2 years ago • 1 comments

我有如下的代码,我为了实现文字的颜色变换,但是当我尝试使用addAnimate后,并没有效果,还是from里的颜色。

text.addAnimate({
      from: {
        x,
        y: ny,
        color
      },
      to: {
        x,
        y: ny,
        color: activeColor
      },
      time,
      delay: 0,
      ease: "Quartic.In"
    })

CavinHuang avatar Oct 21 '22 02:10 CavinHuang

颜色还未添加动画

drawcall avatar Oct 21 '22 03:10 drawcall