Slow the speed of hiding an element
Now that I have hiding an element, a tint, on mouse click working correctly, it feels that it would be more pleasant to hide the element over say a 0.5 or 1 second period. Less jarring. How might one achieve that?
Hi,
Using a logic block on an objects alpha you can active a transition and then set a time from that for the action to take place.
Here's a quick output: https://s3-ap-southeast-2.amazonaws.com ... index.html
Here's the project and skin: cheers,
Tony
Using a logic block on an objects alpha you can active a transition and then set a time from that for the action to take place.
Here's a quick output: https://s3-ap-southeast-2.amazonaws.com ... index.html
Here's the project and skin: 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/
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi John,
If this is a follow on from your last post then rather then use the Visible settings to hide an element you can use the Alpha setting to fade out an element.
Make sure you use Change Alpha rather then Set Alpha. This will also allow for a delay time.
Cheers,
Hopki
If this is a follow on from your last post then rather then use the Visible settings to hide an element you can use the Alpha setting to fade out an element.
Make sure you use Change Alpha rather then Set Alpha. This will also allow for a delay time.
Cheers,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki,
Love how there are always different options to define actions in P2VR skins.
Tony
Love how there are always different options to define actions in P2VR skins.
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/
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Yeah, how many ways to kill that cat!
But if it was a follow on then John was using actions.
IMO variables are more for global events such as popups, if for example you had five popups then you can use a numbered variable.
0 = all close
1 = show popup one
2 = show popup two
etc.
So when a popup is opened with its variable number the rest will hide.
But in this case where you have a singles splash screen then just an action is fine.
I guess you could argue that in that case as there is two elements then they could use a variable to hide both at the same time, but as said as the project is already using actions I just went with the flow
Cheers,
Hopki
But if it was a follow on then John was using actions.
IMO variables are more for global events such as popups, if for example you had five popups then you can use a numbered variable.
0 = all close
1 = show popup one
2 = show popup two
etc.
So when a popup is opened with its variable number the rest will hide.
But in this case where you have a singles splash screen then just an action is fine.
I guess you could argue that in that case as there is two elements then they could use a variable to hide both at the same time, but as said as the project is already using actions I just went with the flow
Cheers,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Woo hoo! Figured it out after watching more video tutorials. Then checked here for replies and it turned out that I wound up using Hopki's & Tony's suggestions of changing alpha. Appearance default Alpha=1. Created a Logic Block (this morning's lesson) when *var1 = 1, change Alpha to 0, with transition of 1 second. Established the variable to change to one on mouse click. The transition looks more polished in my view. This is a pretty awesome S/W package! https://www.sierraproaerial.com/360_aer ... rial_land/
John,
Looks great nice fade
Tony
Looks great nice fade
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/
Thanks Tony!