How do I run multiple animations in a particle through 1 class?

Hello!

https://phaser.io/examples/v3/view/game-objects/particle-emitter/custom-particles

I use several particular animations at one point. I use the same class (which is AnimatedClass in this example) to run each animation. Is there any way to run multiple animations using only 1 class (not per emitter)?

You can assign a particle animation in emitCallback and then work on that.

1 Like