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

Share and discuss custom LunaLua code and content packs for SMBX2.
SNESLuigi9768
Shy Guy
Shy Guy
Posts: 7
Joined: Thu May 18, 2023 8:51 pm
Pronouns: he/him

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

Postby SNESLuigi9768 » Tue Aug 01, 2023 11:28 pm

I found an issue with the update; at line 148 you forgot to put an "r" in registerEvent(minHUD, "onPostPlayerKill")

Blake Izayoi
Posts: 584
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

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

Postby Blake Izayoi » Wed Aug 02, 2023 12:50 am

SNESLuigi9768 wrote:
Tue Aug 01, 2023 11:28 pm
I found an issue with the update; at line 148 you forgot to put an "r" in registerEvent(minHUD, "onPostPlayerKill")
Whoops! How embarrassing!! I've updated the code to properly work now. Thank you!

SpookWorm
Goomba
Goomba
Posts: 1
Joined: Mon Dec 20, 2021 7:58 am
Pronouns: they/them

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

Postby SpookWorm » Fri Aug 04, 2023 6:55 pm

Does this work with MrDoubleA's Yoshi playable? If not, are you planning to add compatability?

Blake Izayoi
Posts: 584
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

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

Postby Blake Izayoi » Mon Aug 07, 2023 6:27 pm

SpookWorm wrote:
Fri Aug 04, 2023 6:55 pm
Does this work with MrDoubleA's Yoshi playable? If not, are you planning to add compatibility?
It does not. There are no plans to add compatibility as I do not know how MrDoubleA's Yoshi works, and the code is most likely too advance for me to read properly at my skill level. Maybe in the future I can add compatibility, but that won't be for a long while.

HAK0TA538
Bob-Omb
Bob-Omb
Posts: 22
Joined: Wed Oct 18, 2023 11:57 pm
Flair: Lua is cool
Pronouns: He/Him

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

Postby HAK0TA538 » Mon Nov 13, 2023 12:51 am

How do i enable the dragon coin counter


Image

mariobrigade2018
Spike
Spike
Posts: 275
Joined: Wed May 24, 2023 7:00 pm
Flair: Normie in coding who dreams of making a Mario game
Pronouns: he/him

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

Postby mariobrigade2018 » Tue Nov 14, 2023 3:21 am

HAK0TA538 wrote:
Mon Nov 13, 2023 12:51 am
How do i enable the dragon coin counter


Image
That's the Star Coin Counter. Not a Dragon Coin Counter.

HAK0TA538
Bob-Omb
Bob-Omb
Posts: 22
Joined: Wed Oct 18, 2023 11:57 pm
Flair: Lua is cool
Pronouns: He/Him

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

Postby HAK0TA538 » Thu Nov 16, 2023 12:51 am

mariobrigade2018 wrote:
Tue Nov 14, 2023 3:21 am
HAK0TA538 wrote:
Mon Nov 13, 2023 12:51 am
How do i enable the dragon coin counter


Image
That's the Star Coin Counter. Not a Dragon Coin Counter.
Then why do the settings say "dragon coin"

mariobrigade2018
Spike
Spike
Posts: 275
Joined: Wed May 24, 2023 7:00 pm
Flair: Normie in coding who dreams of making a Mario game
Pronouns: he/him

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

Postby mariobrigade2018 » Thu Nov 16, 2023 12:57 am

HAK0TA538 wrote:
Thu Nov 16, 2023 12:51 am
mariobrigade2018 wrote:
Tue Nov 14, 2023 3:21 am
HAK0TA538 wrote:
Mon Nov 13, 2023 12:51 am
How do i enable the dragon coin counter


Image
That's the Star Coin Counter. Not a Dragon Coin Counter.
Then why do the settings say "dragon coin"
Don’t know. That’s the function name that the creator made. Star Coins are better than Dragon Coins, anyways.

Blake Izayoi
Posts: 584
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

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

Postby Blake Izayoi » Sun Nov 19, 2023 2:16 pm

HAK0TA538 wrote:
Mon Nov 13, 2023 12:51 am
How do i enable the dragon coin counter
Image
I apologize for the confusion, the "Dragon Coin" counter actually uses the Star Coins NPCs as they are far more versatile than the actual Dragon Coins. As for why in-code the variables are called "Dragon Coin", it's because in all of my projects I've worked on, I've reskinned Star Coins to look like Dragon Coins. That's a silly error on my part, and I'll edit and update the code later today so that future users of the Minimalist HUD don't get confused.

Sorry!

HAK0TA538
Bob-Omb
Bob-Omb
Posts: 22
Joined: Wed Oct 18, 2023 11:57 pm
Flair: Lua is cool
Pronouns: He/Him

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

Postby HAK0TA538 » Mon Nov 20, 2023 4:43 pm

Blake Izayoi wrote:
Sun Nov 19, 2023 2:16 pm
HAK0TA538 wrote:
Mon Nov 13, 2023 12:51 am
How do i enable the dragon coin counter
Image
I apologize for the confusion, the "Dragon Coin" counter actually uses the Star Coins NPCs as they are far more versatile than the actual Dragon Coins. As for why in-code the variables are called "Dragon Coin", it's because in all of my projects I've worked on, I've reskinned Star Coins to look like Dragon Coins. That's a silly error on my part, and I'll edit and update the code later today so that future users of the Minimalist HUD don't get confused.

Sorry!
Its alright, i actually ended up doing the same thing in my project after i found that out lol. The demo's out for the project i was working on with it if you wanna check it out.

Cornholio309
Koopa
Koopa
Posts: 16
Joined: Fri Nov 06, 2015 4:26 pm

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

Postby Cornholio309 » Wed Feb 28, 2024 7:23 pm

Been using this with New Great Castle Adventure with livesAltStyle set to 2 for the infinite lives + death counter. It works really nicely with that episode's structure! Also combined it with customReserve.lua by commenting out code in minHUD that related to drawing the graphics for the item reserve. The end result is something that's pretty close to a couple of modern Mario World hacks that use a similar HUD that instantly give the player the powerup when they press Select while also giving me another Item Reserve slot to play with SMBX's larger powerup count. Will probably be using this in any Episodes/Levels I release!

My only personal request/question is if anybody would be familiar with how to modify the code so the death counter total is subtracted from if the player collects a 1-up/obtains a life through another method (like 100 coins). I think this would allow 1-up Mushrooms to still have a nice purpose in Episodes that feature a life system since otherwise 1-Ups that are placed inside the levels are functionally useless with this feature enabled (such as New Great Castle Adventure's Goomba Grounds - there's a small Koopa shell section that rewards a 1-Up there).

It would allow a player to 'clean up' previous deaths if they so desired after beating an Episode (or they can start a new save file in the same Episode and do it that way). I'm not sure how SMBX calculates adding/subtracting lives and if this can be printed/saved to the overall death count.

Blake Izayoi
Posts: 584
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

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

Postby Blake Izayoi » Wed Mar 06, 2024 3:57 pm

Cornholio309 wrote:
Wed Feb 28, 2024 7:23 pm
My only personal request/question is if anybody would be familiar with how to modify the code so the death counter total is subtracted from if the player collects a 1-up/obtains a life through another method (like 100 coins).

I'm sure this is possible, but it wouldn't be very simple (at least for someone who's pretty new to coding such as myself). I could look into this in the distant future if you would like me to, however I do have quite a bit on my plate at the moment so it wouldn't be for a while.
I'm glad you're enjoying the Minimalist HUD! Thank you for using it!


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari