Simle animation & timers

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
jare
Posts: 331
Joined: Thu Mar 19, 2009 1:26 pm
Location: RU/CZ
Contact:

Simle animation & timers

Post by jare » Thu Jun 29, 2017 1:41 pm

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!

User avatar
Hopki
Gnome
Posts: 7552
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Simle animation & timers

Post by Hopki » Thu Jun 29, 2017 1:56 pm

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

User avatar
jare
Posts: 331
Joined: Thu Mar 19, 2009 1:26 pm
Location: RU/CZ
Contact:

Re: Simle animation & timers

Post by jare » Sun Jul 02, 2017 8:59 pm

Hi Hopki,
thanks for reply, will try it.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests