Page 1 of 1

Play a GIF/ Image Sequence

Posted: Mon May 02, 2016 12:59 am
by Noytal
I have a really simple matchstick puzzle game that, when the user submits a correct answer, needs to got an animated "correct" screen. I made an image sequence/ gif in After Effects that I would like to use in LiveCode. It is just some red/ white text on a grey background that is animated a little, and I don't know how to just make an animation "play". There's about 40 frames that need to play at 24 fps. How would I do this?

Re: Play a GIF/ Image Sequence

Posted: Sat May 07, 2016 11:16 am
by guillem
Is the repeatCount of the image set to zero? In that case the animation will be stopped. Maybe you could

Code: Select all

set the repeatCount of image tWhateverItsNameIs to -1
when the answer is correct to start animating it indefinitely, or to any positive integer to loop it just a number of times.