Call out, Info, URL, Image and Video point hotspots

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Here is another callout project that uses the Hotspot Custom Properties.

callout.gif
callout.gif (1.34 MiB) Viewed 336793 times

As the point hotspot centers in the player the "call out" activates.

How does it work?
The Hotspot has a Custom Property which adds a Hotspot Variable to the skin, this is a true/false variable set to false.

1.png
1.png (81.43 KiB) Viewed 336793 times

The variable has a variable logic block that when the point hotspot is within 35% of the centre of the player it will change to true.
In the skin is a Hotspot Template which has a few elements, rectangles and text boxes, that make up the call-out point hotspot you see in the output.

Each element has actions to change its Scale, the text boxes their Alpha.
The actions use a Variable Changed Source Action with an action filter to make sure the correct action is triggered when it should.
The call out builds when the variable is true and collapses when it is false.
Here is the first action from the element, Rectangle "info_1,

2.png
2.png (155.32 KiB) Viewed 336793 times

There is also a second action that changes the scale back when the variable is false.
Each action has a delay, so one element at a time build up when the variable is true, and it deconstructs when it is false.

The Text boxes have the actions to open the required elements to show a URL, Image or Video.
Regards,
Attachments
project.zip
(2.89 MiB) Downloaded 3844 times
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/
Post Reply