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

Description: Libraries made for LunaLUA.
Moderator: Moderators

Love Bodhi
Topic author, Close friend
Close friend
Avatar
Love Bodhi
Topic author, Close friend
Close friend
Age: 19
Reputation: 13
Posts: 82
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 267 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 51 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

My Sign Language Progress:
Image

花仙魔法使者,变身!
迎春花的精灵啊,听从我的召唤,赐予我温暖的心灵,将所有爱心、美丽、智慧的力量,汇集起一切的信念、坚定和希望,让奇迹之光重生,让生命之花绽放,魔法凝结!

MariotheNerd F
Baron
Baron
Avatar
MariotheNerd F
Baron
Baron
Age: 11
Reputation: 78
Posts: 457
Joined: 22 Aug 2016
Location: A land called "meme land"
Website Facebook Google+ Twitter

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

OwO, this looks pretty cool. Great job.
Image
Personality
Previously known as RSupertheGreat
You can call me MariotheNerd or just Mario or just RSuper however.
Yes, I'm a girl. If you guys are thinking that I'm deleting my account or thinking I'm a boy.
I have autism and ADHD. Which sometimes, I could easily get misunderstood.
I don't even have a crush but..
Image
ImageImageImageImage
Image
My level/episode playthrough thread:http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185

..What are you doing in my signature? Copying my ideas in this? No way!


Return to “LunaLUA APIs”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest