What is the best way to create sprite animations for heaps of chars?

Hello,

I have lots of different characters. I want to create the same walking, running, hurt, die, etc… animations for all characters. In the animator, each of them should have the same rules as below.

Should I create different animation controls and different animations for each character?

Let’s say I have 50 characters so do I need to create 50 animation controllers and 50 x animations?

Or is there any easy, recommended way to do this?

Thank you so much for your attention and participation.

Don’t use the Animator for this! It’s far to complex for your use case.

Simply use an Animation, stick the clips you want in there, and just Play(“Hurt”), Play(“Idle”), etc.

Hi @Baste thank you so much for your answer. Actually, your idea sounds very cool but I think just using animation and Play(“state”) should be a legacy thing. It shouldn’t support now. am I wrong?

Unity was planning on deprecating the Animation component, but went back on that because it’s got better performance than the Animator, and is a lot simpler, and a proper replacement is very far off.

1 Like