Operating System Skin Change

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
formbysurveys
Posts: 47
Joined: Fri Jul 21, 2017 3:53 pm

My skin doesn't work very well on a smartphone as some of my components are too big.

I'm thinking that is it possible to hide components of the tour is opened on an iphone (iPad is ok).
Regards

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

Hi Andy,
Use the "Is Mobile" logic block to do this.
You can use it on its own or in conjunction with a screen width so a tablet wold show the button and a phone would hide it.
Just depends on how deep you want to get.

iPad logical screen size is 1024 x 768px landscape
iPad Pro 12.9" logical screen size is 1366 x 1024px landscape

iPhone 5, 5S logical screen size is 568 x 320px landscape
iPhone 6, 6S, 7logical screen size is 667 x 375px landscape


So as an example the logic to show a button on the iPad but hide it for a phone would be.

Is Mobile = true And
Player Width < 768
Visible: false

768 being the the width in portrait on the iPad so the button would still show as its 768px.
Or use this logic setting is the scale or size logic block to make the elements smaller.

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/
Post Reply