Give the skin a reference resolution and make it automatically scale for players using a different resolution.
If I put the reference resolution at 1080p and someone at 1440p joins it scales up everything for them dynamically. Or down if they're using 1366x768.
Add a tickbox to elements called "Obey reference resolution" for exceptions to this rule.
ID:2428655
Feb 17 2019, 12:30 am
|
|||||||
| |||||||
You can do this by transforming plane_masters or using map_zoom already. You just have to have a method call that does this when the skin is resized.
|
In response to Crazah
|
|
Crazah wrote:
You can do this by transforming plane_masters or using map_zoom already. You just have to have a method call that does this when the skin is resized. That's only if the UI is based on client.screen right? Not the skin elements? |
In response to Crazah
|
|
What Crazah said makes this already a feature. It can get tricky getting the right percentages if you use a lot of skin elements, but it's not hard to accomplish already.
|
I was thinking of something just like that for DMI's so you could store higher resolution DMI's but have them output at appropriate resolutions for various scales during gameplay.