LunaLua Offical Thread - SMBX Usermod Framework

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?

Shall I steam some LunaLua live development?

Yes
200
92%
No
17
8%
 
Total votes: 217
Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Thu Mar 19, 2015 12:40 pm

LunaLua v0.6.1 is out with following changes:
Spoiler: show
* Resturctured Audio Module [Tutorial]
* New Defines Module
* Added function spawnEffect (replaces runAnimation)
* Added new fields towards the Animation Class
* Added some new function signature overloads for spawnNPC
* Optimzed the VBStr fields, they can now be assigned directly to a string.

DaSpongeBobMan
Snifit
Snifit
Posts: 212
Joined: Tue Apr 15, 2014 2:17 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby DaSpongeBobMan » Fri Mar 20, 2015 11:05 am

I just put the new lua in the smbx folder and it requires all the audio files. I cannot download these at the same time and they contain viruses. What should I do? And what does boolean mean?

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Fri Mar 20, 2015 11:54 am

DaSpongeBobMan wrote:I just put the new lua in the smbx folder and it requires all the audio files.
That's why I put up the link "SMBX Audio Files"
DaSpongeBobMan wrote:I cannot download these at the same time and they contain viruses. What should I do?
They are just marked as a virus because they are using hack techniques.

DaSpongeBobMan wrote:And what does boolean mean?
Boolean is a variable type:

Code: Select all

local myBoolean = true
if(myBoolean)then
  --do stuff
end

local myFalseBoolean = false
True and false are values for the type boolean.

Also:
A LunaLua Hotfix (v0.6.1.1) is out which fixes NPC.direction.

Mr Boboo
Spike
Spike
Posts: 267
Joined: Sat Jan 04, 2014 8:43 am
Flair: The Wicked Pissah

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Mr Boboo » Sat Mar 21, 2015 10:42 am

z0mg starmun

LunaDLL with Lua, eh? I've always been hoping for an SMBX modding software (or something of the sort) and it looks like my dream is finally coming true. It should be really interesting seeing what people make.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Sat Mar 21, 2015 1:45 pm

Mr Boboo wrote: LunaDLL with Lua, eh? I've always been hoping for an SMBX modding software (or something of the sort) and it looks like my dream is finally coming true. It should be really interesting seeing what people make.
Same here. Before LunaLua was created, I was like: Where is my lua in Lunadll and well, now it is here :P
I hope you enjoy it.

Wind
Ripper II
Ripper II
Posts: 315
Joined: Fri Dec 20, 2013 12:38 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Wind » Sat Mar 21, 2015 2:00 pm

Is there a non-SDL version?
E: apparently not. f

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Sat Mar 21, 2015 2:45 pm

Wind wrote:Is there a non-SDL version?
E: apparently not. f
Do you dislike SDL?

Wind
Ripper II
Ripper II
Posts: 315
Joined: Fri Dec 20, 2013 12:38 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Wind » Sat Mar 21, 2015 3:24 pm

No, but all I wanted was Lunadll + lunalua, not additional 16 DLLs.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Sun Mar 22, 2015 11:26 am

I updated the download link, it should be now easier to access LunaLua.

Mr Boboo
Spike
Spike
Posts: 267
Joined: Sat Jan 04, 2014 8:43 am
Flair: The Wicked Pissah

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Mr Boboo » Sun Mar 22, 2015 3:25 pm

I installed LunaLua properly and decided to run DarkShadeX's Hammer Starman code. I loaded the level and got a text box that said this:
Spoiler: show
Image
I clicked OK and the level loaded correctly, along with the Lua functions, but the player HUD was invisible. I'm not sure why this happens but I don't know how to fix it.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Sun Mar 22, 2015 3:46 pm

As I understand the code right, the hammer (NPC ID: 171) is missing in your level. You have to add this to your level. If you have any additional problems then please forward this error to the orignal creator of the code (DarkShadeX).

StarBot
Guest

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Mon Mar 23, 2015 4:29 pm

Do you need LunaDLL to download LunaLua? I'm sorry if this should like a dumb question, I don't understand none of this.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Mon Mar 23, 2015 5:03 pm

No, it is just a new version of Lunadll which contains the new lua module.

If you download the first time LunaLua I would recommend to download the whole package including all graphics and sounds.

StarBot
Guest

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Mon Mar 23, 2015 8:10 pm

Kevsoft wrote:No, it is just a new version of Lunadll which contains the new lua module.
Oh okay! :mrgreen:
Kevsoft wrote:If you download the first time LunaLua I would recommend to download the whole package including all graphics and sounds.
oh... okay? :?:
Do you mean,
If you download LunaLua for the first time
Anyway, it's says I have to download the music and sounds, which I don't want to...
Last edited by StarBot on Wed Mar 25, 2015 1:25 pm, edited 1 time in total.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Tue Mar 24, 2015 1:17 am

The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.

StarBot
Guest

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 1:25 pm

Kevsoft wrote:The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.
I personally don't understand any of this, but I'm going to download it anyway.

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Wed Mar 25, 2015 2:53 pm

ogg files are very small audio files. They often work better than mp3.

About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.

StarBot
Guest

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 4:03 pm

Kevsoft wrote:ogg files are very small audio files. They often work better than mp3.

About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.
Cool cool, err just one question....

Why do I need to download a sound and music file?
Is LunaLua is contain in these soundfiles? :?

Kevsoft
Flurry
Flurry
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Wed Mar 25, 2015 5:04 pm

StarBot wrote:Why do I need to download a sound and music file?
What do you mean "file"?

The LunaLua "Full installation" contains all ogg sound files (the original sound files just converted to the ogg-format) and the 44100 Hz music files (the original music files just converted to 44100 Hz). Read here about the new music engine.

StarBot
Guest

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 7:41 pm

Kevsoft wrote:
StarBot wrote:Why do I need to download a sound and music file?
What do you mean "file"?

The LunaLua "Full installation" contains all ogg sound files (the original sound files just converted to the ogg-format) and the 44100 Hz music files (the original music files just converted to 44100 Hz). Read here about the new music engine.
Oh my mistake :|


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari