smbx communitypge projectsmw central

happy birthday talkhaus!!!

LunaDLL/LunaLUA help thread

The second SMBX collab!
Kil
Posts: 13
Joined: 8 years ago

LunaDLL/LunaLUA help thread

Postby Kil » 3 years ago

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
Last edited by Kil on 11 Oct 2015, 14:26, edited 5 times in total.
DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2533
Joined: 6 years ago
Location: Finland

Re: LunaDLL help thread

Postby Willhart » 3 years ago

The OnInput command seems useful for some new gimmick levels.
Willhart wrote:Being a fan means... blind obsession.... She does not have to accept it... I thought it brought me closer to her.
Willhart wrote:[She] is planning on joining the patreon discord thing on advanced group, and that likely means that I'll listen trough every single one of those as they happen...

Part of me feels like writing her name over and over again
...I should not give up.
💔

User avatar
SAJewers
A2XT Guy
Posts: 1986
Joined: 5 years ago
Location: Nova Scotia

Re: LunaDLL help thread

Postby SAJewers » 3 years ago

Oh my god this is amazing
DO NOT PM ME ABOUT A SECOND MARIO BROS X. THING. I WILL NOT RESPOND TO PMs.
Image
Head over to the ASMBXT Forums and join the discssion, or submit levels!
Image
Image
Image

User avatar
Menshay
Posts: 1
Joined: 7 years ago
Location: Italy

Re: LunaDLL help thread

Postby Menshay » 3 years ago

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?

User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2533
Joined: 6 years ago
Location: Finland

Re: LunaDLL help thread

Postby Willhart » 3 years ago

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.
Willhart wrote:Being a fan means... blind obsession.... She does not have to accept it... I thought it brought me closer to her.
Willhart wrote:[She] is planning on joining the patreon discord thing on advanced group, and that likely means that I'll listen trough every single one of those as they happen...

Part of me feels like writing her name over and over again
...I should not give up.
💔

Kil
Posts: 13
Joined: 8 years ago

Re: LunaDLL help thread

Postby Kil » 3 years ago

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?
Good point. If I add a certain command that and more will be possible.
DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
Sturg
Gets his freak on with VGM
Posts: 525
Joined: 6 years ago
First name: sturgyman
Location: - :noiƚɒɔo⅃
Contact:

Re: LunaDLL help thread

Postby Sturg » 3 years ago

I gotta admit, this tutorial is a lot easier to understand than the last one :P .

Very good job!
Image
Image
Image
Image
now let me into your cool gang

User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2533
Joined: 6 years ago
Location: Finland

Re: LunaDLL help thread

Postby Willhart » 3 years ago

I'd like to know how the multiple midpoints are made in lunadll.
Willhart wrote:Being a fan means... blind obsession.... She does not have to accept it... I thought it brought me closer to her.
Willhart wrote:[She] is planning on joining the patreon discord thing on advanced group, and that likely means that I'll listen trough every single one of those as they happen...

Part of me feels like writing her name over and over again
...I should not give up.
💔

Kil
Posts: 13
Joined: 8 years ago

Re: LunaDLL help thread

Postby Kil » 3 years ago

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.

User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 5 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Postby docopoper » 3 years ago

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.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- 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.

User avatar
SAJewers
A2XT Guy
Posts: 1986
Joined: 5 years ago
Location: Nova Scotia

Re: LunaDLL help thread

Postby SAJewers » 3 years ago

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.
DO NOT PM ME ABOUT A SECOND MARIO BROS X. THING. I WILL NOT RESPOND TO PMs.
Image
Head over to the ASMBXT Forums and join the discssion, or submit levels!
Image
Image
Image

User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2533
Joined: 6 years ago
Location: Finland

Re: LunaDLL help thread

Postby Willhart » 3 years ago

I remember someone was able to make multiple midpoints by using a 3up-moon.
Willhart wrote:Being a fan means... blind obsession.... She does not have to accept it... I thought it brought me closer to her.
Willhart wrote:[She] is planning on joining the patreon discord thing on advanced group, and that likely means that I'll listen trough every single one of those as they happen...

Part of me feels like writing her name over and over again
...I should not give up.
💔

User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 5 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Postby docopoper » 3 years ago

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.

Image <- Go team Yeah Doctor Shemp.!
Image <- 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.

User avatar
SAJewers
A2XT Guy
Posts: 1986
Joined: 5 years ago
Location: Nova Scotia

Re: LunaDLL help thread

Postby SAJewers » 3 years ago

Pretty sure they do.
DO NOT PM ME ABOUT A SECOND MARIO BROS X. THING. I WILL NOT RESPOND TO PMs.
Image
Head over to the ASMBXT Forums and join the discssion, or submit levels!
Image
Image
Image

User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2533
Joined: 6 years ago
Location: Finland

Re: LunaDLL help thread

Postby Willhart » 3 years ago

Willhart wrote:I remember someone was able to make multiple midpoints by using a 3up-moon.
Tested it and the 3-up moons came back. They might have been using SMW leeks and I just remembered wrong.
Willhart wrote:Being a fan means... blind obsession.... She does not have to accept it... I thought it brought me closer to her.
Willhart wrote:[She] is planning on joining the patreon discord thing on advanced group, and that likely means that I'll listen trough every single one of those as they happen...

Part of me feels like writing her name over and over again
...I should not give up.
💔

Kil
Posts: 13
Joined: 8 years ago

Re: LunaDLL help thread

Postby Kil » 3 years ago

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.

User avatar
SAJewers
A2XT Guy
Posts: 1986
Joined: 5 years ago
Location: Nova Scotia

Re: LunaDLL help thread

Postby SAJewers » 3 years ago

where did you hear this?
DO NOT PM ME ABOUT A SECOND MARIO BROS X. THING. I WILL NOT RESPOND TO PMs.
Image
Head over to the ASMBXT Forums and join the discssion, or submit levels!
Image
Image
Image

Kil
Posts: 13
Joined: 8 years ago

Re: LunaDLL help thread

Postby Kil » 3 years ago

DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
raocow
the death of the incredible huge
Posts: 1680
Joined: 8 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily

Re: LunaDLL help thread

Postby raocow » 3 years ago

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.
the chillaxest of dragonsImage
Image
Image
Image
ImageImage

User avatar
Bwarch
Local Candy Fiend
Posts: 140
Joined: 7 years ago
Pronouns: He/Him/His
Location: Scorpions and snakes aplenty oh my.

Re: LunaDLL help thread

Postby Bwarch » 3 years ago

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
Oh man it's a Tumblr: http://bwarch.tumblr.com/

Doctor Shemp
Banned
Posts: 0
Joined: 4 years ago

Re: LunaDLL help thread

Postby Doctor Shemp » 3 years ago

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.
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.

User avatar
raocow
the death of the incredible huge
Posts: 1680
Joined: 8 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily

Re: LunaDLL help thread

Postby raocow » 3 years ago

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.
the chillaxest of dragonsImage
Image
Image
Image
ImageImage

User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 5 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Postby docopoper » 3 years ago

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.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- 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.

User avatar
SAJewers
A2XT Guy
Posts: 1986
Joined: 5 years ago
Location: Nova Scotia

Re: LunaDLL help thread

Postby SAJewers » 3 years ago

Wait and see what comes of that, if anything.

And yes, any engine changes will be with A3MBXT.
DO NOT PM ME ABOUT A SECOND MARIO BROS X. THING. I WILL NOT RESPOND TO PMs.
Image
Head over to the ASMBXT Forums and join the discssion, or submit levels!
Image
Image
Image

User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 5 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Postby docopoper » 3 years ago

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.

Image <- Go team Yeah Doctor Shemp.!
Image <- 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.


Return to “A2XT”

Who is online

Users browsing this forum: No registered users and 2 guests

cron