Page 1 of 1

Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Fri Nov 12, 2021 4:47 pm
by Hatsune Blake

Image

Do you wish that the HUD didn't take up as much space as it does currently? Have you ever hoped for a publicly available HUD so you can save time not making one yourself? Have you ever wished that this Super Mario World patch feature was in SMBX?

Well, today's your day! I have made a minimalistic HUD with customizable features, available for you to use in whatever project you'd like (as long as you give proper credit).

Image

In the spoiler below, you can find the explanation for every setting currently available with the HUD.
Documentation: show
hudBarSet
Setting this to 1 will give you a solid black bar for all the HUD elements to go on. Setting this to 2 will give you a slightly transparent bar, so players can still see slightly behind it.
Defaults to 1.

dragonAltStyle
If set to 2 and you're using the solid black bar style for the HUD, this will give the uncollected Star Coins graphics an alternative white style.
Defaults to 1.

dragonExtra
If set to 2, Star Coin graphics will be spaced out more. Looks nice if you have 3 per level.
Defaults to 1.

starCounterSet
When set to 2, it hides the star counter from the HUD.
Defaults to 1.

timeCounterSet
When set to 2, it hides the SMBX timer from the HUD.
Defaults to 2.

timeAltStyle
When set to 2, the timer graphic is slightly altered to have a green outline instead of a black one. Useful if you want it to stick out more on a solid black bar.
Defaults to 1.

livesAltStyle
When set to 2, the lives counter is disabled and is replaced with a functioning death counter. Good for episodes that find lives outdated.
Attention! You'll need to make it so lives don't go down in your episode if you enable this feature, otherwise the player can still game over.
If you don't know how, insert the code below into your episode's luna.lua file.

Code: Select all

function onTick()
    mem(0x00B2C5AC, FIELD_FLOAT, 99)
end
If you're interested in seeing this HUD in action, watch me play The Invasion 2's first few levels with it enabled.


Ready to download it? Click here:
Image

The old version can be found here, just in case you want to use it. If the latest version doesn't work for whatever reason, use this version!
Version 1.0: show
Image
NOTICE: Please remember that I'm an amateur coder and there could potentially be issues with this HUD. Please report all issues to me if you can!

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sun Dec 19, 2021 2:54 pm
by Hatsune Blake
Version 1.1 has been released! This update adds a functional death counter you can toggle on & off within the settings. If there's any issues with it, please let me know ASAP. It took a bit to separate the death counter code from my Nuclear Fusion project & the .lua file now distributed is basically just a gutted version of the one included in Nuclear Fusion.

Heart support for Toad & Peach should be coming soon-ish, if I can figure it out! Sorry it hasn't been implemented yet. I'm trying my best...

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sat Jan 15, 2022 8:09 am
by LennonsFactory
Is it possible to put this at the bottom of the screen instead of the top?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sat Jan 15, 2022 12:16 pm
by Hatsune Blake
LennonsFactory wrote:
Sat Jan 15, 2022 8:09 am
Is it possible to put this at the bottom of the screen instead of the top?
It's possible, but you'll have to edit the code yourself!
If there's enough demand for it, I'll add a setting that moves everything to the bottom (but it'd be a lot of work)!

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sat Jan 15, 2022 1:54 pm
by LennonsFactory
Oof, I don't know how to code :D ! Dang it.

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sun Jan 16, 2022 4:10 pm
by Hatsune Blake
LennonsFactory wrote:
Sat Jan 15, 2022 1:54 pm
Oof, I don't know how to code :D ! Dang it.
If you really want it on the bottom of the screen instead of the top, I can make a hardcoded version for you. Just contact me on Discord in the SMBX server.

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sun Jan 16, 2022 5:00 pm
by LennonsFactory
ok im not in the smbx server. I will join. What is your username???

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Wed Mar 23, 2022 12:48 pm
by Marioman2007
I was bored, so I quickly redid this hud!

Spoiler: show
Image

Download!

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Fri Nov 04, 2022 9:50 am
by Giggs-Chan
Is it possible to have the player's icon change depending on what character it is (example M if Mario, L if Luigi, etc) instead of 1UP?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Fri Nov 04, 2022 9:17 pm
by Hatsune Blake
Giggs-Chan wrote:
Fri Nov 04, 2022 9:50 am
Is it possible to have the player's icon change depending on what character it is (example M if Mario, L if Luigi, etc) instead of 1UP?
Not currently, but I could see if in the future I could code support for that into the HUD!

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Mon Nov 07, 2022 8:45 am
by Giggs-Chan
What about 2 player support?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Mon Nov 07, 2022 5:39 pm
by Hatsune Blake
That will unfortunately most likely never happen. My coding skills are 100% not up to par to tackle something like that.

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Wed Nov 09, 2022 8:24 am
by Giggs-Chan
Aww...
How's your next update with the player icons so far? And will this be update 1.2 or 2.0?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Thu Nov 10, 2022 2:50 am
by Hatsune Blake
I've been quite busy because of work so I have no idea when I'll be able to get to that. Also it'll most likely be 1.2.

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Mon Nov 14, 2022 8:14 am
by Giggs-Chan
What have you gotten so far?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Wed Nov 30, 2022 10:35 am
by Giggs-Chan
Marioman2007 wrote:
Wed Mar 23, 2022 12:48 pm
I was bored, so I quickly redid this hud!

Spoiler: show
Image

Download!
Could you please add unique smbols for each character instead of just "1UP"?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Thu Jan 12, 2023 1:34 am
by BroccoliRampage
This is great! I've been looking for a minimalist HUD look and don't really have the skill to program it myself. I believe I'll feature this in my episode & credit you! One question I didn't see mentioned above can the score display be turned off?

Re: Minimalist HUD [v1.1] - Hello, Extra Screen Room!

Posted: Sun Jan 15, 2023 3:09 pm
by Hatsune Blake
BroccoliRampage wrote:
Thu Jan 12, 2023 1:34 am
This is great! I've been looking for a minimalist HUD look and don't really have the skill to program it myself. I believe I'll feature this in my episode & credit you! One question I didn't see mentioned above can the score display be turned off?
Not to my knowledge, but it should be easy enough to edit the code in order to disable the score display.