Page 1 of 2

[NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Mon Jun 03, 2019 2:48 am
by MECHDRAGON777

Showcase


Original Link: https://www.youtube.com/watch?v=auU76-QrWNA
Image

Download

Life Moon

To-Do

•Depends on what bug reports I get

Custom Graphics

  • Image ~ original
  • Image ~ by Melko
Update: This no longer is just a 3-Down moon, but a 3-Up moon as well based on the direction of the moon.

Re: [NPC Pack] ~ <b>S</b>uper <b>M</b>ario <b>W</b>orld 3-Down Moon

Posted: Mon Jun 03, 2019 2:54 am
by MmmMario
Insert good stoner SFX and shaders whenever one of these is collected.

Re: [NPC Pack] ~ SMW 3-Down Moon

Posted: Fri Jun 21, 2019 7:32 pm
by MECHDRAGON777
New update to fix a bug that was reported. This also adds a 3-Down effect.
Update
Image

Re: [NPC Pack] ~ SMW 3-Down Moon

Posted: Sat Jun 22, 2019 1:16 pm
by LGLMAKING
What an original idea!

Re: [NPC Pack] ~ SMW 3-Down Moon

Posted: Sun Jun 23, 2019 3:07 am
by MECHDRAGON777
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!

Re: [NPC Pack] ~ SMW 3-Down Moon

Posted: Sun Jun 23, 2019 12:13 pm
by LGLMAKING
MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Oh wow

Re: [NPC Pack] ~ SMW 3-Down Moon (Now with audio)

Posted: Sun Jun 23, 2019 9:49 pm
by MECHDRAGON777
Update with Audio.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Wed Jul 03, 2019 11:28 pm
by MECHDRAGON777
Has a built in 3-up moon:
[url=https://cdn.discordapp.com/attachments/ ... pc-851.zip]Update/new NPC[url]

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Fri Jul 05, 2019 9:05 am
by Wiimeiser
Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Fri Jul 05, 2019 11:04 am
by Westretroman
Wiimeiser wrote:
Fri Jul 05, 2019 9:05 am
Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.
Are you using SMBX PAL?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Fri Jul 05, 2019 4:59 pm
by MECHDRAGON777
I made a typo in the ini file that I did not notice since I had them placed prior. (I actually noticed last night.) As for the error, I need to test that myself as well.

Added in 1 hour 45 minutes 11 seconds:
Edit:
Wiimeiser wrote:
Fri Jul 05, 2019 9:05 am
Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.
Image

I found this mistake and I made a typo in the code as well. I typed v.NPC.direction instead of v.direction.

Added in 3 minutes 50 seconds:
Edit: Life Moon update.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Sat Jul 06, 2019 3:50 am
by Wiimeiser
Thanks for looking into it. It's working properly now, except for the graphics for some reason. It even plays the 3UP sound effect properly instead of crashing the game like other things I've encountered do for some strange reason.

Re: [NPC Pack] ~ SMW 3-Down Moon

Posted: Sun Jul 07, 2019 1:45 am
by MegaDood
MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Ah! So is this the origins of the 3-Down moon?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Sun Jul 07, 2019 1:50 am
by MECHDRAGON777
Wiimeiser wrote:
Sat Jul 06, 2019 3:50 am
Thanks for looking into it. It's working properly now, except for the graphics for some reason. It even plays the 3UP sound effect properly instead of crashing the game like other things I've encountered do for some strange reason.
Sorry for not seeing this. Did I forget something in the .ini file? Is it not showing up in Moondust or in SMBX2? I got it to work, but maybe I forgot to include an important file in the zip or something?
MegaDood wrote:
MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Ah! So is this the origins of the 3-Down moon?
Yes, it is.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Sun Jul 07, 2019 4:17 am
by Wiimeiser
It's using the 3down frame even if it's a 3up moon. The only setting I can find that changes anything is "frames" in the ini file, but that just makes it flash between the two frames in the editor, and it's still stuck on the 3down frame in game.
Setting:
animation-direction = 1
animation-bidirectional = 1
also causes it to animate in the editor.

Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Sun Jul 07, 2019 4:42 am
by MECHDRAGON777
Wiimeiser wrote:
Sun Jul 07, 2019 4:17 am
It's using the 3down frame even if it's a 3up moon. The only setting I can find that changes anything is "frames" in the ini file, but that just makes it flash between the two frames in the editor, and it's still stuck on the 3down frame in game.
Setting:
animation-direction = 1
animation-bidirectional = 1
also causes it to animate in the editor.

Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.
That would make sense. I am actually unsure how to fix that one. In the lua file, did I make the framestyle 1?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Mon Jul 08, 2019 4:52 am
by Wiimeiser
In the lua:
framestyle = 1,
so yes, but in the ini file:
frame-style = 0
I don't know if that does anything.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Mon Feb 24, 2020 7:46 pm
by MECHDRAGON777
Wiimeiser wrote:
Mon Jul 08, 2019 4:52 am
In the lua:
framestyle = 1,
so yes, but in the ini file:
frame-style = 0
I don't know if that does anything.
That may actually be the cause. Seeing as Beta 4 is out, I might want to test to see if this works on Beta 4 as well.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Mon Feb 24, 2020 7:50 pm
by Murphmario
Wiimeiser wrote:
Sun Jul 07, 2019 4:17 am
Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.
That's not true, they're simply just use framestyle=0.

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Posted: Tue Feb 25, 2020 5:17 am
by Cedur
What happens when you lose all your lives?