Better Vote Background scaling behaviour #171

Merged
alufolie91 merged 7 commits from votebgscaling into Saturn-Next 2025-05-19 16:01:07 +02:00
alufolie91 commented 2025-05-14 16:25:41 +02:00 (Migrated from github.com)

Votebackgrounds scale and look completely different on every resolution and highreshudscale setting, which leads to them looking really bad on some specific settings
This adds 3 new ways of handling how they are scaled and displayed to accomidate every possible setting

  • Vanilla
    as the name implies, this just draws them like vanilla would
  • Adaptive
    this will try to always make the background fill the screen on both axis
    this is the most consistent visually and accomidates patches with padding the best
    however a few exceptions might be displayed "offcentered" vertically, since this setting aligns the patches on the bottom of the screen (similar to vanilla)
    this is the new default setting
  • Vertical-Fill
    this attempts to always scale the patch to fill the screen vertically
    best setting to see almost all vote backgrounds in "full"
  • Horizontal-Fill
    this attempts to always scale the patch to fill the screen horizontally
    by default this aligns the patch vertically at the bottom of the screen, but will center the background if they do not fit the screen vertically like this
    this is also rather consistent looking, but often ends up cutting off parts of the votebackground or looking off on backgrounds that rely on being aligned to the bottom of the screen (vanilla background)

all of this can be changed per "votebgscaling" cvar

Vanilla:
kart0222

Adaptive (new default):
kart0220
kart0216

Votebackgrounds scale and look completely different on every resolution and highreshudscale setting, which leads to them looking really bad on some specific settings This adds 3 new ways of handling how they are scaled and displayed to accomidate every possible setting - Vanilla as the name implies, this just draws them like vanilla would - Adaptive this will try to always make the background fill the screen on both axis this is the most consistent visually and accomidates patches with padding the best however a few exceptions might be displayed "offcentered" vertically, since this setting aligns the patches on the bottom of the screen (similar to vanilla) this is the new default setting - Vertical-Fill this attempts to always scale the patch to fill the screen vertically best setting to see almost all vote backgrounds in "full" - Horizontal-Fill this attempts to always scale the patch to fill the screen horizontally by default this aligns the patch vertically at the bottom of the screen, but will center the background if they do not fit the screen vertically like this this is also rather consistent looking, but often ends up cutting off parts of the votebackground or looking off on backgrounds that rely on being aligned to the bottom of the screen (vanilla background) all of this can be changed per "votebgscaling" cvar **Vanilla:** ![kart0222](https://github.com/user-attachments/assets/8527b130-2897-4af7-b512-e4987436ea1e) **Adaptive (new default):** ![kart0220](https://github.com/user-attachments/assets/5cee11fb-757f-4388-a42a-23ed894ce8d9) ![kart0216](https://github.com/user-attachments/assets/f0d86cc1-cd87-4597-a68e-ccd25b2fc3b4)
Indev450 (Migrated from github.com) reviewed 2025-05-14 16:25:41 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#171