Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有关于特效参数的说明吗?比如,如何控制动画的速度、循化等,支持什么样的入参? #422

Open
sandheart opened this issue Apr 7, 2024 · 4 comments

Comments

@sandheart
Copy link

// add custom effect
creator.createEffect('customEffect', {
from: { opacity: 0, y: 350, rotate: 190, scale: 0.3 },
to: { opacity: 1, y: 200, rotate: 0, scale: 1 },
ease: 'Back.Out',
});

有关于特效参数的说明吗?比如,如何控制动画的速度、循化等,支持什么样的入参?

@drawcall
Copy link
Member

drawcall commented Apr 7, 2024

@sandheart
Copy link
Author

https://tnfe.github.io/FFCreator/#/guide/animate

首先感谢回复,这个看过了,但没找到控制动画速度和次数的办法

@drawcall
Copy link
Member

drawcall commented Apr 7, 2024

文档后续补齐,可以先参看demo

@sandheart
Copy link
Author

好的,好期盼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants