Why is there no UI re-size feature?

    Joined
    Jun 26, 2017
    Messages
    1
    Reaction score
    0
    I don't get why games miss this very simple feature.

    There is a growing number of players out there with 4k monitors, and the UI is very, very, very, very, very small.

    The game is unplayable like this.

    Please, devs. PLEASE think about this.
     
    Joined
    Mar 3, 2015
    Messages
    457
    Reaction score
    158
    I don't have a 4k monitor. what I DO have is a 42" tv that is mounted over my fireplace. It's hard for me to read things on the GUI as well, and any ability to rescale it would be appreciated.

    I know they mentioned somewhere why they haven't worked on it yet. Probably something like "its not game breaking, we'll get to it later". I'll see if I can dig that up.
     

    jayman38

    Precentor-Primus, pro-tempore
    Joined
    Jul 13, 2014
    Messages
    2,518
    Reaction score
    787
    • Purchased!
    • Thinking Positive
    • Legacy Citizen 4
    Back when I did some OpenGL programming as a hobby, I was concerned with this very issue.

    In the typical game, an artist draws a GUI element, and the programmer simply rasters the element to the screen at the element's native resolution (E.g. 256x256 pixels).

    You'll see this in most game programming tutorials. The problem is just as described. The element is too big on smaller resolutions, such as low-res TVs and older monitors, but too small on new, higher-resolution monitors.

    My solution was to draw GUI elements purely in GL calls. It takes a little longer, but it returns serious dividends, such as customizability, transparency, and shading that doesn't require the re-processing of pre-built image elements.


    The HUD "crosshair", RPG stats bars for Strength, Agility, and Stamina on the right, and the real-time compass at the bottom center are all GL-created and don't rely on a pre-made image, such as the ammo-type or armor-type icons on the left. The crosshair changes depending on the weapon used.

    As it is, utilizing existing elements, the game needs to take the graphic elements of the GUI and scale them or reposition them, depending on not only the resolution on each axis, but also the video ratio, which is typically closely associated with resolution.

    Mobile app programming tends to address these concerns a little better than conventional game programming.

    Some layout changes might involve moving the hotbar from the bottom to the side of the screen for outputs with very wide (most modern monitors) video ratio.

    It all goes back to being able to scale individual elements. For example, instead of displaying a 256x256 element at native resolution, it needs to be scaled to 10% of the X resolution. On a 1920-pixel wide monitor, that element scales to 192 pixels wide. On a 4k-wide monitor, that same element scales to 400 pixels wide. Similarly, if someone were to go old-school, and set the resolution to 640x480, the element would scale down to a miniscule 64 pixels wide.

    At one point, there was noise about the GUI being very customizable. It has made some strides in that regard, but obviously, there is still more to go.
     
    Last edited:
    Joined
    Sep 28, 2023
    Messages
    1
    Reaction score
    0
    completely unplayable without UI scaling.
    i play on a 65" 4K tv from across the room and the UI is completely unreadable..
     

    Nauvran

    Cake Build Server Official Button Presser
    Joined
    Jun 30, 2013
    Messages
    2,343
    Reaction score
    1,194
    • Master Builder Bronze
    • Competition Winner - Small Fleets
    • Legacy Citizen 10
    completely unplayable without UI scaling.
    i play on a 65" 4K tv from across the room and the UI is completely unreadable..
    a necromancer playing on a stupidly big tv?
     

    TheDerpGamerX

    Lord of Lawnmowers
    Joined
    Sep 18, 2017
    Messages
    214
    Reaction score
    206
    • Legacy Citizen 6
    • Community Content - Bronze 2
    UI scaling and higher resolution support are present in the Universe Update build, but that build isn't done yet and is still being worked on.
     

    Lone_Puppy

    Me, myself and I.
    Joined
    Mar 12, 2015
    Messages
    1,274
    Reaction score
    529
    • Purchased!
    • Community Content - Bronze 2
    • Legacy Citizen 8
    Same reason there is no Universe Update.
    However, this is something that would be a welcomed addition for me.