Elegant system for doing sprite animations?

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

Hmmm...I've been working on my animation class this morning, and so far so good. The display method that Scott suggested doesnt seem to work properly though...

I tried debugging it by printing out the values of curtime - lasttime, but the values that I get are never really higher than 20. The animation that I'm testing needs a 250 millisecond gap between each frame. Any suggestions?