Harmony HUD not scaling properly - again

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
sylandro
Posts: 33
Joined: Tue Feb 17, 2015 8:49 pm

Harmony HUD not scaling properly - again

Post by sylandro »

It seems as if this bug has returned in the version 3.0.1 of GZDoom: viewtopic.php?f=7&t=54282

The fullscreen HUD icons appear messed up. The rest is fine. This is probably due a regression that happened betwen 11/2016 and the latest release.

Image

Image

Image
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Harmony HUD not scaling properly - again

Post by _mental_ »

The mentioned change fixes pickups scaling only.

Here is the screenshot from ZDoom 2.3.1 distributed with Harmony 1.1:
Screenshot_Doom_20170514_164947.png
Most likely it's always been like that. At least I didn't find version of (G)ZDoom where it works differently.
User avatar
Rachael
Posts: 13965
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Harmony HUD not scaling properly - again

Post by Rachael »

The reason this happens is because those are hi-res sprites and they are not scaled down like they are in the game world. This will require a new feature implementation (although that's not to say it shouldn't be done).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Harmony HUD not scaling properly - again

Post by Graf Zahl »

The main problem here is that the sprite textures have a scale of 1.0, the item scaling is part of the item. So the HUD has no way to tell that this texture needs to be scaled down.
The AltHUD works differently, it draws the texture inside a box, so it gets scaled automatically. But doing this for the regular HUD may break other mods.

The only solution here is to create another status bar class that handles this differently. But even that doesn't help with the ammo icons which are all scaled differently.

Ironically, someone created a DECORATE version of this mod shortly after release. That one works perfectly, but the author preferred to keep the Dehacked version.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Harmony HUD not scaling properly - again

Post by Ed the Bat »

Graf Zahl wrote:someone created a DECORATE version of this mod shortly after release
I believe that was our own blzut3. I think it may have had one or two tiny 'bugs' (or just mismatches with the DeHackEd version) in it, such as the Beastlings not honoring NightmareFast, but nothing severe.
Post Reply

Return to “Closed Bugs [GZDoom]”