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

How to perform two animations in parallel (= at the same time) ? #138

Open
RegisAG opened this issue Jul 9, 2018 · 1 comment
Open

How to perform two animations in parallel (= at the same time) ? #138

RegisAG opened this issue Jul 9, 2018 · 1 comment

Comments

@RegisAG
Copy link

RegisAG commented Jul 9, 2018

Hi,

How to perform two animations in parallel (= at the same time) ?

Thanks

@Sofrosyn
Copy link

Try using the animation onstart call then place the other animation in it
Something like

YOYO.with(Technique.Tada).(4000).onStart(animation1 ->
{YOYO.with(Technique.fadeIn).(5000).playOn(button2)
}).playOn(button1)

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