Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
Phaser 3: Reproducir animación después de terminar la animación anterior

Intenté reproducir una animación después de que terminó la animación anterior usando el evento animationcomplete . Sin embargo, ese evento también parece activarse en la animación dentro del propio evento, lo que provoca un bucle sin fin.

¿Cómo puedo reproducir dos animaciones posteriores en su lugar?

 character.sprite.play("ball_out").on('animationcomplete', () => { character.sprite.play("feather_in"); });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

aparentemente usando

 character.sprite.play("ball_out").once('animationcomplete', () => { character.sprite.play("feather_in"); });

solucionado el problema! (Tenga en cuenta la once en lugar de on )

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!