Page 2 of 3

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

Posted: Tue Aug 01, 2023 11:28 pm
by SNESLuigi9768
I found an issue with the update; at line 148 you forgot to put an "r" in registerEvent(minHUD, "onPostPlayerKill")

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

Posted: Wed Aug 02, 2023 12:50 am
by Blake Izayoi
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!

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

Posted: Fri Aug 04, 2023 6:55 pm
by xsall
Does this work with MrDoubleA's Yoshi playable? If not, are you planning to add compatability?

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

Posted: Mon Aug 07, 2023 6:27 pm
by Blake Izayoi
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.

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

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


Image

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

Posted: Tue Nov 14, 2023 3:21 am
by mariobrigade2018
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.

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

Posted: Thu Nov 16, 2023 12:51 am
by HAK0TA538
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"

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

Posted: Thu Nov 16, 2023 12:57 am
by mariobrigade2018
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.

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

Posted: Sun Nov 19, 2023 2:16 pm
by Blake Izayoi
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!

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

Posted: Mon Nov 20, 2023 4:43 pm
by HAK0TA538
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.

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

Posted: Wed Feb 28, 2024 7:23 pm
by Cornholio309
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.

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

Posted: Wed Mar 06, 2024 3:57 pm
by Blake Izayoi
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!

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

Posted: Mon Dec 23, 2024 3:57 pm
by andrei312g
I tried to load this HUD into a level and it gave me this debug error.
Image

this is what I tried to do in luna.lua
Image

let me know what I did wrong with the lua file

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

Posted: Mon Dec 23, 2024 5:01 pm
by mariobrigade2018
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
I tried to load this HUD into a level and it gave me this debug error.
Image

this is what I tried to do in luna.lua
Image

let me know what I did wrong with the lua file
Try finding a file called “progress.json” and deleting it.

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

Posted: Wed Dec 25, 2024 12:03 pm
by andrei312g
mariobrigade2018 wrote:
Mon Dec 23, 2024 5:01 pm
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
I tried to load this HUD into a level and it gave me this debug error.
Image

this is what I tried to do in luna.lua
Image

let me know what I did wrong with the lua file
Try finding a file called “progress.json” and deleting it.
still the same error. is there something wrong with the script or the latest version of this game?

Image

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

Posted: Wed Dec 25, 2024 1:09 pm
by mariobrigade2018
andrei312g wrote:
Wed Dec 25, 2024 12:03 pm
mariobrigade2018 wrote:
Mon Dec 23, 2024 5:01 pm
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
I tried to load this HUD into a level and it gave me this debug error.
Image

this is what I tried to do in luna.lua
Image

let me know what I did wrong with the lua file
Try finding a file called “progress.json” and deleting it.
still the same error. is there something wrong with the script or the latest version of this game?

Image
send the level folder.

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

Posted: Wed Dec 25, 2024 5:04 pm
by andrei312g
mariobrigade2018 wrote:
Wed Dec 25, 2024 1:09 pm
andrei312g wrote:
Wed Dec 25, 2024 12:03 pm
mariobrigade2018 wrote:
Mon Dec 23, 2024 5:01 pm


Try finding a file called “progress.json” and deleting it.
still the same error. is there something wrong with the script or the latest version of this game?

Image
send the level folder.
here
https://mega.nz/file/IOMX1DZI#Yoc0gKW40 ... izLHPkgmr4

I made an example level.

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

Posted: Sat Dec 28, 2024 12:22 pm
by Blake Izayoi
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
let me know what I did wrong with the lua file
You're loading the script incorrectly. What you need to add to luna.lua is the following:

Code: Select all

require('minHUD')
You don't need to add anything else.

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

Posted: Wed Jan 01, 2025 8:45 am
by andrei312g
Blake Izayoi wrote:
Sat Dec 28, 2024 12:22 pm
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
let me know what I did wrong with the lua file
You're loading the script incorrectly. What you need to add to luna.lua is the following:

Code: Select all

require('minHUD')
You don't need to add anything else.
still the same error.

Image

idk what causes this error. even I did right on luna.lua, I get still the same error. I'm trying to run this script on SMBX2 beta 5.

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

Posted: Thu Jan 02, 2025 4:28 pm
by Pixelated_Perfection
andrei312g wrote:
Wed Jan 01, 2025 8:45 am
Blake Izayoi wrote:
Sat Dec 28, 2024 12:22 pm
andrei312g wrote:
Mon Dec 23, 2024 3:57 pm
let me know what I did wrong with the lua file
You're loading the script incorrectly. What you need to add to luna.lua is the following:

Code: Select all

require('minHUD')
You don't need to add anything else.
still the same error.

Image

idk what causes this error. even I did right on luna.lua, I get still the same error. I'm trying to run this script on SMBX2 beta 5.
if it helps any, this is how i have it set up in my level's lua file (this is how i do it for all the codes not just this one)
Image