Modern Style Hud (Like NSMBWii,SMM,Etc.)

Description: Libraries made for LunaLUA.
Moderator: Moderators

Love Bodhi
Topic author, Duke
Duke
Avatar
Love Bodhi
Topic author, Duke
Duke
Age: 19
Reputation: 13
Posts: 105
Joined: 14 Nov 2014
Location: China
Website

Post #1by Love Bodhi » 20 Apr 2017, 10:15

Just a Simple API.
This replaces original SMW Style Hud with a Modern Style Hud.

Spoiler
2017-04-22_15_51_17.png
2017-04-22_15_51_17.png (9.62 KiB) Viewed 384 times

How to use:
1.Place modernhud = API.load("ModernStyledHud") in your luna.lua at the top
2.Set your hud style and time limit.

Code: Select all

modernhud.style = your style, 1=SMB1, 2=SMB2, 3=SMB3, 4=SMW.
modernhud.timecounter = your time limit.
modernhud.timelimitOn() or modernhud.timelimitOff() for time limit on/off
modernhud.usereserve = true/false


Download:
Modern Styled Hud For SMBX.zip
(14.89 KiB) Downloaded 80 times


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.
Last edited by Love Bodhi on 8 May 2017, 2:57, edited 9 times in total.
(Sorry for my bad English.I'm Chinese)
Image

Join my Discord: https://discord.gg/Wa5tpVN

花仙魔法使者,变身!
迎春花的精灵啊,听从我的召唤,将一切爱心、美丽、智慧的能量汇集,让光明重振起来,迎接好运的到来吧,魔法凝结!

RSupertheGreat F
Lord
Lord
Avatar
RSupertheGreat F
Lord
Lord
Age: 11
Reputation: 92
Posts: 515
Joined: 22 Aug 2016
Location: The sky
Website Facebook Google+ Twitter

Post #2by RSupertheGreat » 20 Apr 2017, 13:04

OwO, this looks pretty cool. Great job.
Image
(it may look weird for your eyes but please don't give a crap to me for that)
ImageImageImageImage
Personality
Yes, I'm a girl. If you guys are thinking I'm a boy.
I have autism and ADHD. Which sometimes, I could easily get misunderstood.
I hate most people.
(Enter Power Star Frenzy userbar)
Image
My level/episode playthrough thread: http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185

Original signature ideas by me, do not steal. lmao


Return to “LunaLUA APIs”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest