LunaDLL/LunaLUA help thread
LunaDLL/LunaLUA help thread
Quick FAQ
Q. Where do I put the codes?
A. To use luna scripts, just make a file called "lunadll.txt" in your level folder and put the codes in there. OR "lunadll.lua" for LUA scripts
http://engine.wohlnet.ru/docs/Collected ... unaDLL.htm
http://engine.wohlnet.ru/docs/Collected ... torial.txt
http://engine.wohlnet.ru/pgewiki/Category:LunaLua_API
Q. Where do I put the codes?
A. To use luna scripts, just make a file called "lunadll.txt" in your level folder and put the codes in there. OR "lunadll.lua" for LUA scripts
http://engine.wohlnet.ru/docs/Collected ... unaDLL.htm
http://engine.wohlnet.ru/docs/Collected ... torial.txt
http://engine.wohlnet.ru/pgewiki/Category:LunaLua_API
Last edited by Kil 8 years ago, edited 5 times in total.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
- Willhart
- Stalker, Doxxer, and Sexual Harasser
- Banned
- Posts: 2434
- Joined: 13 years ago
- Location: Finland
Re: LunaDLL help thread
The OnInput command seems useful for some new gimmick levels.
- SAJewers
- ASMBXT Level Wrangler/A2XT Project Coordinator /AAT Level Designer
- Posts: 4199
- Joined: 11 years ago
- Location: Nova Scotia
Re: LunaDLL help thread
Is there a way to trigger an event (or simply make layers (dis)appear) if and only if the level is entered as a specific character? I noticed TriggerSMBXEvent but what the flags mean is not explained (unless in this case they're just placeholders).
Also, does #-1 activate events even when starting from the midpoint?
Also, does #-1 activate events even when starting from the midpoint?
- Willhart
- Stalker, Doxxer, and Sexual Harasser
- Banned
- Posts: 2434
- Joined: 13 years ago
- Location: Finland
Re: LunaDLL help thread
I'm linking this so I can wind it easier in the future.
http://www.gamearchaeology.com/LunaDLL.html
Also #-1 activates during level load so it works from midpoints too.
http://www.gamearchaeology.com/LunaDLL.html
Also #-1 activates during level load so it works from midpoints too.
Re: LunaDLL help thread
Good point. If I add a certain command that and more will be possible.Menshay wrote:Is there a way to trigger an event (or simply make layers (dis)appear) if and only if the level is entered as a specific character? I noticed TriggerSMBXEvent but what the flags mean is not explained (unless in this case they're just placeholders).
Also, does #-1 activate events even when starting from the midpoint?
DON'T PM me. Ask your question in the help thread so everyone can be answered.
- Sturg
- Gets his freak on with VGM
- Posts: 709
- Joined: 13 years ago
- First name: sturgyman
- Location: - :noiƚɒɔo⅃
- Contact:
Re: LunaDLL help thread
I gotta admit, this tutorial is a lot easier to understand than the last one .
Very good job!
Very good job!
RIP FISH NIPPLE BANNER
- Willhart
- Stalker, Doxxer, and Sexual Harasser
- Banned
- Posts: 2434
- Joined: 13 years ago
- Location: Finland
Re: LunaDLL help thread
I'd like to know how the multiple midpoints are made in lunadll.
Re: LunaDLL help thread
I don't think you can with scripts or in the a2mbxt version, unless docopoper can hardcode it.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
- docopoper
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
- Posts: 78
- Joined: 12 years ago
- First name: Shane Farrell
- Pronouns: they/he
- Location: Ireland
Re: LunaDLL help thread
Well, I mean - I could use static variables, but they wouldn't get saved between sessions and wouldn't reset on game over.
I think the normal method of having multiple midpoints is to use SMB3 leeks somehow, without LunaDLL at all (though you could probably use it).
I think it's something like SMB3 leeks triggering their death event immediately when the level starts if they've already been collected.
I think the normal method of having multiple midpoints is to use SMB3 leeks somehow, without LunaDLL at all (though you could probably use it).
I think it's something like SMB3 leeks triggering their death event immediately when the level starts if they've already been collected.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
- SAJewers
- ASMBXT Level Wrangler/A2XT Project Coordinator /AAT Level Designer
- Posts: 4199
- Joined: 11 years ago
- Location: Nova Scotia
Re: LunaDLL help thread
One thing with the SMW leeks: Once you collect then, they dissapear forever, so after you complete the level, you can still access any leek-given shortcuts.
If only one could re-write the midpoint code.
If only one could re-write the midpoint code.
- Willhart
- Stalker, Doxxer, and Sexual Harasser
- Banned
- Posts: 2434
- Joined: 13 years ago
- Location: Finland
Re: LunaDLL help thread
I remember someone was able to make multiple midpoints by using a 3up-moon.
- docopoper
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
- Posts: 78
- Joined: 12 years ago
- First name: Shane Farrell
- Pronouns: they/he
- Location: Ireland
Re: LunaDLL help thread
I thought 3-up moons came back in smbx.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
- Willhart
- Stalker, Doxxer, and Sexual Harasser
- Banned
- Posts: 2434
- Joined: 13 years ago
- Location: Finland
Re: LunaDLL help thread
Tested it and the 3-up moons came back. They might have been using SMW leeks and I just remembered wrong.Willhart wrote:I remember someone was able to make multiple midpoints by using a 3up-moon.
Re: LunaDLL help thread
Welp, apparently redigit might be updating SMBX. I'm probably done updating this forever because an update to SMBX would undo all of it. I've just added a few more things towards the end of the tutorial regarding new commands.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
- SAJewers
- ASMBXT Level Wrangler/A2XT Project Coordinator /AAT Level Designer
- Posts: 4199
- Joined: 11 years ago
- Location: Nova Scotia
Re: LunaDLL help thread
DON'T PM me. Ask your question in the help thread so everyone can be answered.
- raocow
- the death of the incredible huge
- Posts: 4078
- Joined: 15 years ago
- Location: maybe the Wizards are the most complex, and the sales guys are up their daily
- https://raocow.talkhaus.com/
Re: LunaDLL help thread
It still seems to be on the planning stage...
...
Man, it's a good thing that if we did something with it, we would change the graphics, as the terraria graphics are generic as all hell, haha.
...
Man, it's a good thing that if we did something with it, we would change the graphics, as the terraria graphics are generic as all hell, haha.
the chillaxest of dragons
-
- Local Candy Fiend
- Posts: 136
- Joined: 13 years ago
- Pronouns: He/Him/His
- Location: Scorpions and snakes aplenty oh my.
Re: LunaDLL help thread
Random side note but dang do I love our forum's design more than that forum's. Good gosh a single post fills the page (probably depending on your resolution of course).
Oh man it's a Youtube: https://www.youtube.com/user/BwarchtheGamer
-
- Banned
- Posts: 0
- Joined: 11 years ago
Re: LunaDLL help thread
Considering that he's still in the "asking people if it's a good idea" stage, it'll be ages away. Also I'm not so sure how convincing removing all the Mario graphics would be with respect to avoiding copyright issues considering the enemy logic and fundamental game design (jump on enemies to kill them, kick shells around, the entire powerup system) is unmistakably ripped straight from Mario.Kil wrote:Welp, apparently redigit might be updating SMBX. I'm probably done updating this forever because an update to SMBX would undo all of it. I've just added a few more things towards the end of the tutorial regarding new commands.
- raocow
- the death of the incredible huge
- Posts: 4078
- Joined: 15 years ago
- Location: maybe the Wizards are the most complex, and the sales guys are up their daily
- https://raocow.talkhaus.com/
Re: LunaDLL help thread
To be fair, at this point that's just 'platforming'.
And yeah, it's probably going to take a long while before it reaches parity with smbx, let alone get done in some fashion.
And yeah, it's probably going to take a long while before it reaches parity with smbx, let alone get done in some fashion.
the chillaxest of dragons
- docopoper
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
- Posts: 78
- Joined: 12 years ago
- First name: Shane Farrell
- Pronouns: they/he
- Location: Ireland
Re: LunaDLL help thread
Yeah, I imagine this entire series is still going to be done in this version of SMBX. I personally think it would be a bad idea to change the engine completely in the middle of it anyway, especially since we have LunaDLL - which is probably going to much more versatile than anything he implements.
I wouldn't be discouraged from making LunaDLL kil, it will still have a good lifespan and should at the very least work for this (rather long) episodic game.
I do find it interesting that he has plans to make a new version - now if and when I make my competing version - we must fight to the death... man.
I wouldn't be discouraged from making LunaDLL kil, it will still have a good lifespan and should at the very least work for this (rather long) episodic game.
I do find it interesting that he has plans to make a new version - now if and when I make my competing version - we must fight to the death... man.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
- SAJewers
- ASMBXT Level Wrangler/A2XT Project Coordinator /AAT Level Designer
- Posts: 4199
- Joined: 11 years ago
- Location: Nova Scotia
Re: LunaDLL help thread
Wait and see what comes of that, if anything.
And yes, any engine changes will be with A3MBXT.
And yes, any engine changes will be with A3MBXT.
- docopoper
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
- Posts: 78
- Joined: 12 years ago
- First name: Shane Farrell
- Pronouns: they/he
- Location: Ireland
Re: LunaDLL help thread
Wait, is that A2MBXT Episode 2 renamed - or a separate game after the series?
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
<- Go team Yeah Doctor Shemp.!
<- That's everyone being nice to me. ^^
I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.