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

2014/1/9

Gifs don't work in my program??

NumberTroll NumberTroll

2014/1/9

#
I added a gif in my program, but when the program runs, it only shows the first frame of the gif. why is that? help please!!
chrl98 chrl98

2014/1/9

#
Refer to this discussion: http://www.greenfoot.org/topics/1178
NumberTroll NumberTroll

2014/1/9

#
Umm..what's the GifImage class? (btw I'm animating my actor only when certain things happen. does that still work then? if I set images, greenfoot will display those images too fast) thanks
chrl98 wrote...
Refer to this discussion: http://www.greenfoot.org/topics/1178
danpost danpost

2014/1/9

#
You can still 'setImage'. You just need a delay timer (an int field that goes to a specified value; when that value is reached, change to the next image and reset the field to zero).
NumberTroll NumberTroll

2014/1/9

#
danpost wrote...
You can still 'setImage'. You just need a delay timer (an int field that goes to a specified value; when that value is reached, change to the next image and reset the field to zero).
But I have 20+ images and I don't want to write them out one by one, so a gif would be a lot more easier. Is it possible to solve the gif problem?
You need to login to post a reply.