Stretch Fullscreen HUD problem

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Barny-kun
Posts: 14
Joined: Wed May 03, 2017 2:28 pm
Location: Inside your mind

Stretch Fullscreen HUD problem

Post by Barny-kun »

When i disable this option, my hud gets messed up.. What could possibly be happening? (It happens on both Zandronum and GZDoom) :x

Here is the code and a print:
Spoiler:
Spoiler:
User avatar
jpalomo
Posts: 772
Joined: Mon May 17, 2010 9:45 am

Re: Stretch Fullscreen HUD problem

Post by jpalomo »

When you use fullscreenoffsets, the position is based on the corners of the screen. For x coordinates, positive values start from the left edge of the screen and negative values start from the right edge.

Code: Select all

   // health
    drawmugshot "STF", 1, -323, -32; //324
   drawnumber 2147483647, HUDFONT_DOOM, untranslated, health, drawshadow, 70, -20; //69

    // armor
   drawimage armoricon, -230, -2;
   drawnumber 2147483647, HUDFONT_DOOM, untranslated, armor, drawshadow, whennotzero, 150, -20;
Just change -323 and -230 to positive coordinates.
User avatar
Barny-kun
Posts: 14
Joined: Wed May 03, 2017 2:28 pm
Location: Inside your mind

Re: Stretch Fullscreen HUD problem

Post by Barny-kun »

Thank you!! Finally fixed it! :D
Locked

Return to “Editing (Archive)”