Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Nexxtic

Made a custom HUD, how do I scale it to work well with other resolutions?

Recommended Posts

Posted (edited)

Hello,

 

This is the first time that I'm working with SBARINFO. A friend of mine made an entire HUD system for me and currently i'm trying to implement it. It went well, until I realised that once the resolution is changed, things end up getting messy. 

 

Good Version:

gjPMHOr.jpg

 

Bad Version:

FFehnbU.jpg

 

The files are all in 1920x1080 resolution, but I doubt that that is the problem since i've seen other HUD overlays with high resolutions that scaled flawlessly.

The SBARINFO currently looks like this. What am I doing wrong?

// HUD BASIC CONFIGURATION

Base Doom;
Height 0;
Resolution 512, 320;

StatusBar Fullscreen, FullscreenOffsets

{
DrawImage "HHEALTH", -10, 90;

DrawImage "HUD0", 0, 0;
}

 

Share this post


Link to post
Posted (edited)
2 hours ago, Nexxtic said:

The files are all in 1920x1080 resolution


Resolution 512, 320;

 

Shouldn't it be "Resolution 1920, 1080;", then?

 

Also try using the forcescaled flag: https://zdoom.org/wiki/StatusBar

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×