Page 1 of 1

How to change Button row in next State?

Posted: Mon Jun 07, 2021 5:51 pm
by IntsSed
Hello!
I am new in GG Object2VR.

Is possible in next State change Button row to another, and returning get them back. (look image below)
Or just make some sliding button with menu on Mouse hover?

Thanks!
Ekrānuzņēmums 2021-06-07 182814.jpg
Ekrānuzņēmums 2021-06-07 182814.jpg (64.64 KiB) Viewed 1821 times

Re: How to change Button row in next State?

Posted: Mon Jun 07, 2021 8:41 pm
by Hopki
Hi,
Can you share your skin?
It will be easier to mod your rather than build from scratch.
Regards,

Re: How to change Button row in next State?

Posted: Tue Jun 08, 2021 6:44 am
by IntsSed
Thanks, Hopki, or answer!
That enough with link to tutorial or sample!

Here are the last edits of menu idea.
There are of 3 button menus (look image below).

p.s.
2 (second) button menu should stay also on State 6; 7; 8.
3 (third) button menu should stay also on State 9; 10; 11.
Skin.zip
(277.66 KiB) Downloaded 115 times
2021-06-08 071920.jpg
2021-06-08 071920.jpg (421.69 KiB) Viewed 1778 times

Re: How to change Button row in next State?

Posted: Tue Jun 08, 2021 1:02 pm
by Hopki
Hi,
Looking at your menu, you can put the sub menus in a container.
As you select the main menu button, the container can show, showing the sub menu.
This can be a toggle visibility action.

1.png
1.png (249.6 KiB) Viewed 1763 times

And then:

2.png
2.png (246.55 KiB) Viewed 1763 times

You can also use the Alpha setting to fade out the buttons, for example 0.6, then on mouse enter change the alpha to 1:00 and on exit set it back to 0.6.
Then on click, set to Alpha 1:00 so the active button is a solid.

You can use a regular expression to address many elements so as you select one button a single action can address the other sending them back to Alpha 0.6
Please see: https://ggnome.com/doc/skin-regex/
I know this says Pano2VR 6 but should also work with Object2VR.
Regards,

Re: How to change Button row in next State?

Posted: Tue Jun 08, 2021 2:11 pm
by IntsSed
Much, thanks, Hopki, for answer!

Thanks for ideas and link for submenus! I will try.
I will inform you about the results.

Re: How to change Button row in next State?

Posted: Tue Jun 08, 2021 9:10 pm
by IntsSed
Thanks, Hopki, for ideas!

I have made changes, look images below and attached skin.
Potentially it can be simplified.

SkinEdited.zip
(3.37 MiB) Downloaded 117 times
2021-06-08 221122.jpg
2021-06-08 221122.jpg (183.22 KiB) Viewed 1749 times
2021-06-08 215016.jpg
2021-06-08 215016.jpg (194.85 KiB) Viewed 1750 times
2021-06-08 215059.jpg
2021-06-08 215059.jpg (218.95 KiB) Viewed 1750 times