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

Toggle HUD Keybind + HUD Profiles #141

Open
1 task done
Terraphice opened this issue Oct 12, 2024 · 2 comments
Open
1 task done

Toggle HUD Keybind + HUD Profiles #141

Terraphice opened this issue Oct 12, 2024 · 2 comments
Labels
Suggestion A feature request or some other suggestion.

Comments

@Terraphice
Copy link

What is this suggestion for?

Mod Itself

Suggestion

I was very, very surprised not to see this issue anywhere, so perhaps I just am missing something that already exists…

Simply, I’d like the ability to add a keybind to toggle the pinned stats HUD. I like to have my totems popped, deaths, and playtime pinned for my hardcore worlds, but they take up a lot of screen real estate when you consider mods that add a paperdoll, minimap, TPS, FPS, ping, armor bar, etc.

I’d consider being able to quickly toggle HUD elements a basic feature, so again it’s surprising not to see here.

While you’re at it, if you do decide to add this feature… consider adding HUD profiles with a bind to cycle through them? That way you could have a HUD like I described above, and quickly switch to one with something like player kills and deaths, or blocks mined & placed, etc. as needed.

Thanks for considering.

Code of Conduct

  • I agree that I will be available later for any follow-up questions to help with implementing the suggested thing.
@Terraphice Terraphice added the Suggestion A feature request or some other suggestion. label Oct 12, 2024
@TheCSDev
Copy link
Member

Hello, and thanks for the suggestion!
Also no worries, this suggestion wasn't made before. I like it a lot, and it's creative too. I'll consider implementing it in the next update (or right after it), which is likely gonna be the 1.21.2 port once 1.21.2 comes out.
In the meantime, have great day!

TheCSDev added a commit that referenced this issue Nov 2, 2024
# From TCDCommons API
- Removed the "Refresh current screen" key-binding. It was meant for testing purposes only.
- Resolved conflict with "Screenshot viewer". See #16.

# From Better Statistics Screen
- Hovering over stat widgets in BSS will now play a small on-hover sound, to make the UI feel more "lively".
- Added a key-binding that allows you to toggle the stats HUD screen visibility. See #141.
@TheCSDev
Copy link
Member

TheCSDev commented Nov 2, 2024

Hello again!

I have implemented a feature that allows one to toggle the HUD screen using any key of their choice. Simply navigate to controls settings, and set the key-binding to whichever key you prefer, and that can then be used to hide/show the stats HUD screen.

As for HUD profiles, if I do decide to work on that as well, it'd require a lot more extra work. We'll see.

Thanks again for the suggestions! Expect the implemented feature in the next update, which will be published today (CET timezone). Have a great day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggestion A feature request or some other suggestion.
Projects
None yet
Development

No branches or pull requests

2 participants