Best way to make a custom in game hud?

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

_SleepyWhirl_
Bob-Omb
Bob-Omb
Posts: 23
Joined: Thu Aug 19, 2021 9:52 pm
Flair: Discord: SleepyWhirl#6093
Pronouns: he/him
Contact:

Best way to make a custom in game hud?

Postby _SleepyWhirl_ » Tue Sep 14, 2021 9:00 am

hello, id like to customize the ingame hud (the 1UP text at the top, coin counter etc.) what would be the best way to go about this?

deice
Rocky Wrench
Rocky Wrench
Posts: 639
Joined: Fri Jul 23, 2021 7:35 am

Re: Best way to make a custom in game hud?

Postby deice » Tue Sep 14, 2021 10:13 am

in your smbx2 folder, within "data/scripts/base" you can find the libraries "hudoverride.lua" and "hudoverride2.lua".
load either (depending on which version you want) into your level's (or episode's) luna.lua file as described here.

sadly, the library itself is not documented on codehaus, but enjl describes some basic usage in this thread

_SleepyWhirl_
Bob-Omb
Bob-Omb
Posts: 23
Joined: Thu Aug 19, 2021 9:52 pm
Flair: Discord: SleepyWhirl#6093
Pronouns: he/him
Contact:

Re: Best way to make a custom in game hud?

Postby _SleepyWhirl_ » Tue Sep 14, 2021 10:32 am

thank you very much! finally i can figure out how this works! :D


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari