Improved Mobs (Forge)

Improved Mobs (Forge)

8M Downloads

[Feature Request]: Dynamic Placement of Difficulty Bar

PaulZappia opened this issue ยท 0 comments

commented

Suggestions

It would be awesome if the difficultly bar could be dynamically positioned to certain sides/corners of the screen instead of having to manually input coordinates that only work on that one particular resolution.

Solution

You could calculate where the HUD element should be placed on the screen by grabbing the current game resolution whenever it changes and dictating the changes in position relative to those screen sizes.