Multiple Animations For Sprite using Sprite Library

I am trying to create a simple game that uses an animated sprite. I am trying to learn the sprite library however I am unsure how use multiple animations for my main character if I can only load in one animation sprite sheet per sprite. Should my character class contain multiple sprites with one for each animation, or can a Sprite object contain multiple animations from different sprite sheet files.

Did you resolve this issue, and have you already looked at examples in the Sprite library?

You might also find these past discussions useful:

When designing a library API you can’t always predict all the options users might want. Sprites was designed under the assumption that each sprite would have only one sprite-sheet which would contain all the individual sprite frames.

1 Like