Hi,
I'm trying to create a skin that scales all objects based on the player window. That works fine as long as the window is 16:9 (which the project and skin is made in), but when the window is squeezed in one direction, the skin elements are squeezed as well. This will look strange on e.g. a 4:3 monitor.
If I set the element size in px, the skin is not very responsive at all. If I set the size in percent, it's responsive, but with the aspect ratio issue. Is there a way to lock the aspect ratio? I need the buttons to float in the bottom
Lock aspect ratio on skin elements
-
- Posts: 22
- Joined: Mon Oct 06, 2014 2:16 pm
- Attachments
-
- Skjermbilde 2016-09-15 20.39.39.png (235.56 KiB) Viewed 3243 times
-
- Skjermbilde 2016-09-15 20.38.59.png (812.85 KiB) Viewed 3243 times
-
- Posts: 22
- Joined: Mon Oct 06, 2014 2:16 pm
Found this example of what I'm looking for; https://ggnome.com/samples/pano2vr_5/tower/
The cardboard and player icons are floating at the bottom, anchored at left - and right, at any size and aspect ratio. Any feedback on how to achieve this would be deeply appreciated.
The cardboard and player icons are floating at the bottom, anchored at left - and right, at any size and aspect ratio. Any feedback on how to achieve this would be deeply appreciated.
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
I would use player width and scaling.
I would set up say three sizes depending on screen width then adjust the scale.
Have a look at this thread: viewtopic.php?f=22&t=11710#p48283
Regards,
Hopki
I would use player width and scaling.
I would set up say three sizes depending on screen width then adjust the scale.
Have a look at this thread: viewtopic.php?f=22&t=11710#p48283
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/
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/