lottie file and timer

Q&A about the latest versions
Post Reply
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo,
if I start a lotti file with a timer, then this has already "expired"? can this be? in the first example, the lottie runs correctly, but i would like to start it a little later. but then it is just an image, as in the second example. (after a few seconds it disappears again - that's ok)
pfeil.mp4
(571.33 KiB) Downloaded 226 times
any hints?
thank you,
wiso
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Wiso,

Not quite sure exactly what you want? So when you open the node or project the timer kicks in and starts the Lottie. Then later do you want to come back to that node and have the lottie run the same as the first time?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo tony,
no, i only need the lottie file one time. but if i the timer starts it , the lottie file is "expired", means it is only the picture visible, not the movement.

but i will try and error it in different constellations...

thx,
wiso
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

So you want the movement to loop?
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

yes!

thx,
wiso
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Have you set it to loop?
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo again,

I have now tried it in a small new project.
the arrows on the left side are drawn animated.
the right arrows, which appears with a timer after 5 seconds are no longer animated.
zweipfeile.mp4
(157.3 KiB) Downloaded 226 times
i have added the file and skin.
lottie2.zip
(6.61 KiB) Downloaded 215 times
I hope you understand what I mean,

thx,
wiso
Attachments
lottie.zip
(3.95 KiB) Downloaded 218 times
lottie.mp4
(139.35 KiB) Downloaded 204 times
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Wiso,

Now I can see what you are after :-)

The Lottie within the timer has already been played because it's set to Auto Play. I've renamed it Lottie2, turned off the Autoplay and added an action to the timer: Deactivate > Play Media > 1 > Lottie 2

You can see the result here: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

I've also created a version with a countdown to the animation and a reset button to load the page.

You can see the result here: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

Project files for both versions attached

Tony
Attachments
lottie_test_01.zip
(833.93 KiB) Downloaded 204 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

thank you tony!

i had not known that i can play a lottie as a media!

great,
thank you,
wiso

p.s.: it took a while, but now i understand how you made the counter function...
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Wiso,

Glad you figured out the counter, it helps when you are working with timers to see it's actually working.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply