hudBarSet
Setting this to 1 sets the bar as an image (legacy 1.0 behaviour), 2 sets it to a solid color, 3 sets it to an animated texture.
Defaults to 2.
hudBarColor
This setting allows you to set a custom color if hudBarSet is set to 2. You can also set a completely custom color by setting the option to 7.
Defaults to 1 (solid black).
customColor
This allows you to set a hex code for the color of your HUD bar. This only works if hudBarColor is set to 7.
Defaults to 0x000000FF (solid black).
borderEnable
If set to 2 or 3, this will enable a border on the bottom of your HUD bar. 2 is a static solid color, 3 is a repeating texture.
Looks nice when combined with an animated HUD bar.
Defaults to 1.
borderColor
If borderEnable is set to 2, you can define a custom color here.
Defaults to 0x000000FF (solid black).
borderSize
Defines the size of the border, in height.
Defaults to 2.
iconOri
This determines the layout of icons on the HUD bar. 1 is "legacy", which is how the Minimalist HUD looked before 2.0. 2 is "modern", which is a fresh updated look that is visually better.
Default is 2. If you're updating from v1.0, be wary that this being set to 2 might break your HUD if you made edits to the code.
deathCountZD, coinCountZD, livesCountZD, scoreZD, starsZD
If enabled, HUD elements will have empty "zeros", filling up the HUD bar much nicer. You can see a visual example in the showcase video.
Defaults to 2. The modern layout was made with this in mind, however the legacy layout was not.
scrollDirectionX, scrollDirectionY
If hudBarSet is set to 3, these two features will determine how fast your texture will scroll. Set both of them to 0 to have a non-moving texture.
Both default to 1.
dragonAltStyle
If set to 2, this will give the uncollected Star Coins graphics an alternative white style. Good for dark HUD bars.
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.
coinCounterSet
When set to 2, it hides the coin counter from the HUD.
Defaults to 1.
scoreCounterSet
When set to 2, it hides the score counter from the HUD.
Defaults to 1.
starCounterSet
When set to 2, it hides the star counter from the HUD.
Defaults to 2.
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
When set to 3, the lives / death counter is completely hidden.