This site requires JavaScript, please enable it in your browser!
Greenfoot back
roeilthegreat
roeilthegreat wrote ...

2014/8/9

Gif or animation loop?

roeilthegreat roeilthegreat

2014/8/9

#
I am trying to make my character sprite move automatically. Would it be easier to do an if-else statement or to use a gif? I looked at Michael Barry's gif decoder and, I couldn't understand most of it. I'm also quite new to java.
danpost danpost

2014/8/9

#
The gif decoder just supplies the 'animation loop' code for you, as well as breaking the gif sheet up into its individual images. So, animation loop? for sure! -- gif? up to you.
roeilthegreat roeilthegreat

2014/8/9

#
That cleared things up for me a bit, thanks. I think I'll go with the looping statement.
You need to login to post a reply.