Page 1 of 1

Simle animation & timers

Posted: Thu Jun 29, 2017 1:41 pm
by jare
Hi,

I need to create a simple animation from 3 images, something like slide show. It should simply change visibility of 3 images one by one.
First image is visible let's say for one second, then hide. Then appears second image for one second, then hide. Finally third image for one second, then hide. And again in circle from the start. Is it possible to do it using timers? No interacivity needed.

Thanks!

Re: Simle animation & timers

Posted: Thu Jun 29, 2017 1:56 pm
by Hopki
Hi Jare
I would use a numbered variable staring with 0.
Then each picture would show with a visible logic block when the variable value reaches its number, so pic 1 = 0, pic 2 = 1 and pic 3 = 2.
If you have a look at the gallery component you will see there is a timer that has the actions to loop a numbered variable.
As the variable counts and loops the pictures will show.
The Gallery component can be found in the components forum: viewtopic.php?f=22&t=11217
Regards,
Hopki

Re: Simle animation & timers

Posted: Sun Jul 02, 2017 8:59 pm
by jare
Hi Hopki,
thanks for reply, will try it.