Make node image smaller on Mobile

Q&A about the latest versions
Post Reply
aaouviz
Posts: 3
Joined: Tue Jan 18, 2022 11:47 am

Hi,

I'm sorry if this has been discussed already, or is blatantly obvious, but I'm a bit short on time and can't experiment too much for myself...

I have a tour with custom node SVG images. All looks and works well.

However, the size of the node image (button) is much too big on Mobile devices, but about right on Desktop/VR. How can I reduce it's size so it doesn't take up so much screen real-estate while not changing it in the other devices?

Many thanks for any tips!
User avatar
k.ary.n
Gnome
Posts: 615
Joined: Wed Aug 15, 2007 1:02 pm

The best bet is to make the images responsive based on player width.

Here, Martin does an excellent job of explaining using Player Width to scale the skin. https://youtu.be/M6o7b-RX4Jk?t=545.
aaouviz
Posts: 3
Joined: Tue Jan 18, 2022 11:47 am

Wow, thank you! That was extremely straight-forward and easy.

Would have never found it on my own, so glad I asked.

Thanks again mate, problem solved.
Post Reply