Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Hexen: Crispy Hud #1235

Closed
Noseey opened this issue Nov 6, 2024 · 10 comments · Fixed by #1236
Closed

[Suggestion] Hexen: Crispy Hud #1235

Noseey opened this issue Nov 6, 2024 · 10 comments · Fixed by #1236

Comments

@Noseey
Copy link

Noseey commented Nov 6, 2024

Here a suggestion for a Hexen Crispy Hud, applying the same methodology as for the Heretic one.

The Split Line is between the Item- and the Weapon-Pieces-Widget, since alot of weapons (especially for the warrior) are off-center to the right:
2024-11-06 21_54_39-Hexen - Crispy Doom 7 0 0

This is how it looks like:
2024-11-06 21_53_59-Hexen - Crispy Doom 7 0 0

.. and here the item bar:
2024-11-06 21_54_23-Hexen - Crispy Doom 7 0 0

Characteristics:

  • Relative height preserved
  • Horizontal difference preserved between Life <-> Mana <-> Item, and Weapon-Pieces<->Armor
  • Complete Hud shifted down by 6px to remove the gap created by the chain.
  • Aligns with aspect ratio
  • Is optional

Due to the spacing and size of the widgets, it is alot more cramped than the heretic one. In 4:3 the weapon-pieces widget tends to overlap alot of weapons. This effect disappears when going to a wider aspect ratio.

I was thinking about not drawing the weapon-pieces widget at all, but I think there is no other place you can get the information from in-game.

Let me know your thoughts, thanks!

@fabiangreffrath
Copy link
Owner

fabiangreffrath commented Nov 6, 2024

I like it. Any chance for the icon bar not to partly overdraw the underlying widgets?

@fabiangreffrath
Copy link
Owner

I like it. Any chance for the icon bar not to partly overdraw the underlying widgets?

This is what I mean. It looks better in Heretic:

image

@fabiangreffrath
Copy link
Owner

Maybe the mana and weapon pieces widgets can be disabled as long as the icon bar is active.

@Noseey
Copy link
Author

Noseey commented Nov 7, 2024

I like it. Any chance for the icon bar not to partly overdraw the underlying widgets?

You are right, the widgets sticking out to the side looks a bit messy

Maybe the mana and weapon pieces widgets can be disabled as long as the icon bar is active.

Thats a good idea! I will try to implement it and provide an update.

@Noseey
Copy link
Author

Noseey commented Nov 7, 2024

I got it working. Basically, when the inventory is open, only the health and armor is drawn:
2024-11-07 17_44_35-Hexen - Crispy Doom 7 0 0

However, this currently applies across all aspect ratios, even for those where no overlapping occurred in the first place (21:9, 16:9):
2024-11-07 17_45_10-Hexen - Crispy Doom 7 0 0

Should this behavior remain uniform or should I add a check to only apply it for 4:3 and 16:10, where the issue is present?

@fabiangreffrath
Copy link
Owner

Should this behavior remain uniform or should I add a check to only apply it for 4:3 and 16:10, where the issue is present?

Instead of hard coding aspect ratios, I'd prefer if you could check horizontal patch positions and widths instead.

@Noseey
Copy link
Author

Noseey commented Nov 7, 2024

Instead of hard coding aspect ratios, I'd prefer if you could check horizontal patch positions and widths instead.

Glad you mentioned that, its the better solution. I have choosen the two widgets that would intersect first when reducing the overall screen width: ManaPatch2 and Gem1
2024-11-07 19_12_11-Hexen - Crispy Doom 7 0 0

So there has to be at least 1px spacing between them in order to draw all remaining widgets, otherwise an intersect is detected.

@fabiangreffrath
Copy link
Owner

That'd be the best solution.

@Noseey
Copy link
Author

Noseey commented Nov 7, 2024

Here the solution at work:

16:9 Inventory Bar
2024-11-07 23_10_36-Hexen - Crispy Doom 7 0 0

16:10 Inventory Bar
2024-11-07 23_10_57-Hexen - Crispy Doom 7 0 0

@fabiangreffrath
Copy link
Owner

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants