This replaces original SMW Style Hud with a Modern Style Hud.
- Screenshot
How to use:
Place local ModernStyledHud = require("ModernStyledHud") in your luna.lua at the top, and you're done!
Optional Reserve Box Function:
Code: Select all
ModernStyledHud.usereserve = true/false
Download:
For Beta 3 (Old):
For Beta 4+ (New):
Note: New characters avatar isn't implemented.
- Changelog
- Update 1:
Added modernhud.usereserve funtcion.
Update 1.5:
Adjusted score place a bit.
Update 2:
Added Heart System.
Update 2.1:
Fixed a minor error.
Update 2.2:
Changed Reserve Powerup drawing function.
Update 3:
Added modernhud.showhud which is for toggling HUD display.
Added custom style to modernhud.style.
Optimized timer display.
Update 3a:
Added constants.
The HUD GFX is now fully customizable when the style is modernhud.STYLE_CUSTOM.
Update 4:
Reworked the timer system.
Added modernhud.timespeed for the countdown speed.
Update 5:
Now works with SMBX2MX3, and optimized code a bit.
Update 5.1:
Added Green Berry support.
Update 6:
Timer was synchronized with SMBX2 Beta 4.0.2 p2 Hotfix
Update 6.1:
Now uses Override HUD function.
Update 7:
Added star coin counter.
Replaced HUD Type condition with Character condition.