The code above allows me to advance to the next animation frame and previous by frame number. But how can I do something like this, but advance to the next animation if all animations are numbered sequentially?
I want to create a character select screen that cycles through characters with a button on left for PREVIOUS and button on right for NEXT, but if I use animation frames then the characters are static. If I can use animations, then they can be animated (obviously).
Is this possible?