Elegant system for doing sprite animations?

BlitzMax Forums/BlitzMax Programming/Elegant system for doing sprite animations?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hey all,

My first post on this forum...so here goes nothing!

I was wondering if there was an elegant way of doing sprite based animations using BlitzMax? I have a series of animated strips and was wondering if anyone has implemented a way to display them in blitz without using messy loops?

Lets say that, for instance, I have an animation loaded as such:

Global Test_Animation:Timage=LoadAnimImage("images/testanim.png",190,187,0,4)

Is there a way to invoke the animation by telling Blitz to play frames in the order of 0, 1, 0, 2, 0, 3, 0, 4 over a period of 2 seconds? Or would I have to code a methd to do this on my own?

Thanks!