SVG images bug?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
MEC
Posts: 10
Joined: Thu Jun 01, 2017 7:59 pm
Location: Delft

SVG images bug?

Post by MEC » Tue Feb 27, 2018 5:07 pm

I've imported in SVG image in the skin editor. I've imported images for the "normal", "mouse over" and "selected" mode. When I generate my output the "selected" mode is not working. I've include my skin in attached zipped file, hope this helps.
Any help is welcome...

cheers,
Seger
Attachments
A711 forum.zip
skin
(12.51 KiB) Downloaded 11 times

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

Re: SVG images bug?

Post by Hopki » Tue Feb 27, 2018 8:32 pm

Hi Seger,
The three states work like this.
• normal is the default image
• mouse over, this image only shows when you mouse over the button
• selected, this only shows when the mouse is down

On mouse release the mouse over state will show as your still hovering over the button and then the normal state when you move the mouse away from the button.
By the looks of it your mouse over and selected states are the same graphic, so you wont see any change when you click.
Regards,
Hopki

MEC
Posts: 10
Joined: Thu Jun 01, 2017 7:59 pm
Location: Delft

Re: SVG images bug?

Post by MEC » Wed Feb 28, 2018 11:29 am

Thanks Hopki,

Correct, mouse over and selected state are the same graphic. I was under the impression that the selected state would be visible also after the mouse is down....until clicked again.

The numbers (buttons) are indicating a floor level linked to a map image including hotspots.
This is what I try to achieve: I want to indicate the selected floor level after clicking on it. I would like to keep the floor level button popping up as long as my selected pano is on screen. So, the button is indicating on which floor level the pano in view is positioned.

Any suggestions?
Thanks in advance.

Regards,
Seger

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

Re: SVG images bug?

Post by Hopki » Wed Feb 28, 2018 3:35 pm

Hi Seger,
You can stack two button graphics.
I would use a variable true/false.
The idea is the button would have normal and mouse over states.
Then on click the button would hide using the logic block and the active button would then show.
Please project attached.
Regards,
Attachments
Seger.zip
(13.12 KiB) Downloaded 13 times

MEC
Posts: 10
Joined: Thu Jun 01, 2017 7:59 pm
Location: Delft

Re: SVG images bug?

Post by MEC » Wed Feb 28, 2018 6:17 pm

perfect! many thanks Hopki.

regards,
Seger

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests