ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

[HL25] HUD visual consistency errors #3728

Open a1batross opened 4 months ago

a1batross commented 4 months ago

Since the update, I've been noticing that Health and Battery HUD numbers are a few pixels lower than Ammo HUD element.

See the line in screenshot: изображение

This is a definitely got broken in HL25 because after simply adding 2560 and 1280 sprites in my SDK tree, the numbers are properly aligned:

изображение

However, here the numbers aren't properly aligned to health and suit icons.

The possible solution here is to move the Ammo HUD elements a few pixels down, like the Health and Battery, thus avoiding the numbers' misalignment with the health and suit icons.

a1batross commented 4 months ago

I will add here that ammo bar size is missing scaling. Thanks to @tmp64 for pointing this out.

Original 640 pix sprites: изображение

1280 pix sprites with incorrectly applied 640's 2x scaling: изображение

1280 pix sprites with proper 3x scaling: изображение