Overworld Minimalist HUD

Share and discuss custom LunaLua code and content packs for SMBX2.
Pixelated_Perfection
Goomba
Goomba
Posts: 4
Joined: Fri Feb 25, 2022 1:23 pm
Pronouns: He/They

Overworld Minimalist HUD

Postby Pixelated_Perfection » Mon Nov 07, 2022 2:26 pm

An overworld HUD code I made ages ago for a project that I currently don't have much intention on finishing at the moment.

It's pretty bare bones, but I imagine you could do a lot to customize it because of that.

Example:
Spoiler: show
Image
Download:
https://drive.google.com/file/d/1Kmoo9M ... sp=sharing

deice
Buster Beetle
Buster Beetle
Posts: 441
Joined: Fri Jul 23, 2021 7:35 am

Re: Overworld Minimalist HUD

Postby deice » Tue Nov 08, 2022 6:25 am

displaying the maximum star count is actually a neat little touch, i like it.

however, if you do intend to at any point continue working on this, the call to Text.print() for the current level name should likely be moved into onDraw() as well because as-is the level name doesn't get drawn while the game is paused

Pixelated_Perfection
Goomba
Goomba
Posts: 4
Joined: Fri Feb 25, 2022 1:23 pm
Pronouns: He/They

Re: Overworld Minimalist HUD

Postby Pixelated_Perfection » Tue Nov 08, 2022 10:37 am

deice wrote:
Tue Nov 08, 2022 6:25 am
displaying the maximum star count is actually a neat little touch, i like it.

however, if you do intend to at any point continue working on this, the call to Text.print() for the current level name should likely be moved into onDraw() as well because as-is the level name doesn't get drawn while the game is paused
Honestly, I'm not even sure I remember how I got it to work in the first place, but if I do ever make a new version of it I'll make sure to ask you about that.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest