Skip to content

解耦变换参数并支持对同一容器不同参数设置平行动画 #807

@TremblingMoeNew

Description

@TremblingMoeNew

目前的代码中,在对一个WebGALPIXIContainer设置变换或动画时,总是会对所有的参数进行修改,且新的setTransform/setTempAnimation/setAnimation指令会强制终止对应容器正在进行中的所有时间线动画。
计划进行并提交修改:

  • 解耦参数,时间线动画的过渡计算、以及参数应用过程仅携带动画过程中实际涉及修改的参数,对container、对effect的修改改为增量更新
  • 为setTransform/setTempAnimation/setAnimation指令添加-parallal参数,携带此参数时不会终止同名指令,与同目标容器已有的时间线动画平行执行。由用户自行保证平行执行的时间线动画不会对同一参数进行修改。

等有空的时候实现一下提个pr。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions