Timer Explanation?

Q&A about the latest versions
Post Reply
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Hi,

Is there an in depth tutorial that actually explains how the timer works? I know that there are tutorials that illustrate different things you can do with the timer......but they do not explain what is actually going on.

I find the timer very confusing. After 2 dedicated hours of playing around with it.....still no idea what can and cannot be done with it. It seems to be missing some very basic functions.....such as "click to activate" to start the timer.....it's a real pain in the ass and with almost ZERO documentation explaining it's functionality it is like trying to piece together a jigsaw puzzle with you feet....blind!!!!! :D

Anyone?
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Is there an in depth tutorial that actually explains how the timer works?
Unfortunately not but Hopki does have some great examples you can download. However as we well know there are many, many ways to achieve what you want in Pano2VR. I just went through Hopki's timer based callouts and broke it down into a mind map, so complex it's amazing.
.....such as "click to activate" to start the timer.....
Okay here's a quick "mouse click" one, here's the example https://p2vrlittlebits.s3-ap-southeast- ... index.html

In the skin I have;

a. Timer - named Timer 1
b. Text Box - named Text 1
c. Text Box - named Reset

Both Text Boxes are in a Container - named Container 1 (just to keep them together in the skin)

1. Timer 1 has the values: Type: Manual | Timeout: 0.000 seconds | Repeat: One Time
2. Timer 1 has the Actions: a. Deactivate | Hide Element | Text 1, b. Activate | Change Element Alpha | 1.000 second | reset
3. Text 1 has the Action: Mouse Click | Set Value | 1 | Timer 1
4. Reset has the Actions: a. Mouse Click | Show Element | Text 1, b. Mouse Click | Set Element Alpha | 0.000 | _self

So basically the timer is just sitting there doing nothing. When Text 1 is Mouse Clicked it sets the value of the Timer 1 to 1 second, thereby making it active!

After 1 second the Timer 1 is Deactivated which triggers it's Actions to hide Text 1 and set the Element Alpha of reset to 1. So the text box disappears and the reset button appears.

I've attached the skin.

Tony

Nothing else happens as Timer 1 is set for 'One Time' operation.

Reset action just makes Text 1 visible again and Reset alpha to 0.000

Tony
Attachments
mouse-click.ggsk
(1.51 KiB) Downloaded 233 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/
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

AHA!!!!

I feel as if a veil has been lifted from mine eyes :-) I get it now!!! It was the initial timer settings, variables and not knowing how the set value played with the timer that was throwing me off.

Thank you so very much for explaining that.....it was seriously driving me crazy.

YOU DA MAN TONY! :D Much appreciated!
Post Reply