HUD icons scaling
Posted: Sat Aug 22, 2009 11:43 am
What I'm interested in is this: in default (G)ZDoom HUDs the icons if items, health, armor, ammo, etc. get scaled in higher resolutions, though their coordinates on the screen remain the same. It seems impossible to make it this way in your custom HUD through SBARINFO, as the only way to make the hud stretched is to make it 'forcescaled', which would also make it look like 320x200 in any resolution. Maybe I am wrong? If I am, how do I make the icons scale in higher resolutions and at the same time not make the HUD shrink in higher resolutions?
The other question is -- even more important -- how do I make items' icons scaled to the size of an inventory icon box? With ZDoom Alternative HUD the icons of items and weapons are scaled to one certain size, despite the resolution and despite the original size of the item's sprite. How do I do that in my custom HUD? I need to make inventory items with big icons (because these items will have writing on them, that must be possible to read) and at the same time I want them to fit in the frame of an inventory item in the inventory bar in the lower part of the screen.
Some help would be really much appreciated!!!
The other question is -- even more important -- how do I make items' icons scaled to the size of an inventory icon box? With ZDoom Alternative HUD the icons of items and weapons are scaled to one certain size, despite the resolution and despite the original size of the item's sprite. How do I do that in my custom HUD? I need to make inventory items with big icons (because these items will have writing on them, that must be possible to read) and at the same time I want them to fit in the frame of an inventory item in the inventory bar in the lower part of the screen.
Some help would be really much appreciated!!!