FADE OUT SKIN ELEMENTS

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
benmckaydesigns
Posts: 13
Joined: Wed Dec 21, 2016 11:49 am

Hi I would like to know the easy way how to make a skin element fade out when clicked on in stead of disappearing suddenly using the hide element function. Just to make the skin a bit more stylish...

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

Use a change element Alpha action rather than a show and hide.
Example:
mouse click, change element alpha, alpha: 1.000, element = show
mouse click, change element alpha, alpha: 0.000, element = hide

The fade uses a set time and can not be changed however if you use a logic block you can set the time in seconds.

Example:
Set a variable in the skin, something like: fade, True/False, true.
The element would have it's alpha set to 0.000.
Then under the elements alpha logic block set: fade* = false Alpha = 1.000.
Then select Transition and set the time.

A button in the skin would then have the action: mouse click, set variable value, fade, Not(¬).
The operation Not(¬) will toggle the variable.
Regards,
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/
benmckaydesigns
Posts: 13
Joined: Wed Dec 21, 2016 11:49 am

Thanks!!

Really appreciated
Post Reply