ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HL25] HUD visual consistency errors

a1batross opened this issue · comments

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.

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:
изображение