I have posted an example of an very simple animation class using the built in Planet Cute sprites. If you have your own sprites just replace the entries in the setup function. The sprites have to be individual frames, not a sprite sheet.
Thanks for sharing this. Nice simple class for handling animations.
Nice class, thanks a lot mate.