[SDL] Quick Question about animation.

Lamonte(Scheols/Demonic) scheols at gmail.com
Wed Mar 7 14:33:19 PST 2007


Hello,
I was wondering whats the best way to switch between 2 image frames
every time I would press a key.  For example, If I loaded 2 bitmaps
one will have its foot back and the other would have its foot forward
so if I would to keep running the frames back and forth it would look
like my sprite was walking.  Any suggestions on the BEST way to do
this?

Thanks in advanced for any suggestions giving.
-Lamonte

-- 
Join phpdiscovery.com Now!


More information about the SDL mailing list