Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
John Nameless
- 2025 Egg Hunter

- Posts: 116
- Joined: Mon Jul 10, 2023 11:40 pm
- Flair: vidio gaem
Postby John Nameless » Tue Feb 18, 2025 6:04 am
Heya everyone here's a brand new update for 3.0.0 for the Rip Lair's Powerup Pack!
Sporting various bugfixes & various brand new powerups!
& Even a powerup randomizer + a luna.lua file meant for spicing up your favorite 1.3/classic episodes!
Ranging from:
- Aqua Flower
- Chicken Suit
- Speed & Slow Flower
- Small Fire Flower
- Spring Mushroom
- Weird Mushroom
- Hammer Flower
- Statue Leaf
- Metal Cap
- Vanish Cap
- Powerup Randomizer (Extended)
- Powerup Randomizer (Custom Only)
- luna.lua File that transforms all powerups into powerup randomizers (recommended for spicing up existing 1.3/classic episodes)





|
|
|
|
|
|
|
|
|
-
FutureNyanCat
- Eerie

- Posts: 764
- Joined: Fri Dec 20, 2013 8:39 pm
- Flair: Species: Felis robotus
- Pronouns: He/Him
-
Contact:
Postby FutureNyanCat » Tue Feb 18, 2025 6:26 am
I made the Concrete Mushroom, which is also in v3.0.0! This powerup's inspired by the Concrete Shot weapon from Mega Man 9, and is the first time I actually made a powerup for the pack. Hope you guys enjoy!
|
|
|
|
|
|
|
|
|
-
DeviousQuacks23
- Bot

- Posts: 50
- Joined: Tue Apr 11, 2023 9:29 am
- Flair: Decent at LunaLua coding.
- Pronouns: him
Postby DeviousQuacks23 » Tue Feb 18, 2025 6:30 am
I hope you enjoy the 6 powerups i made for this update ;P
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Tue Feb 18, 2025 9:47 am
Have fun brutally assassinating enemies with the aqua and hammer flower. (i made them) The hammer flower in particular was very popular on Discord.
|
|
|
|
|
|
|
|
|
-
crisx284
- Goomba

- Posts: 2
- Joined: Mon Feb 24, 2025 4:47 pm
- Pronouns: He/Him
Postby crisx284 » Mon Feb 24, 2025 5:37 pm
Can you make a Super Mario Bros 1. (NES and SNES), Super Mario Bros 2. (NES and SNES) and Super Mario World textures of forms of Mario and Luigi of you pack?
Please
Last edited by crisx284 on Mon Feb 24, 2025 5:37 pm, edited 1 time in total.
|
|
|
|
|
|
|
|
|
-
MegaDood
- Charged Spiny

- Posts: 1804
- Joined: Wed Nov 01, 2017 2:43 am
Postby MegaDood » Tue Feb 25, 2025 2:16 am
crisx284 wrote: ↑Mon Feb 24, 2025 5:37 pm
Can you make a Super Mario Bros 1. (NES and SNES), Super Mario Bros 2. (NES and SNES) and Super Mario World textures of forms of Mario and Luigi of you pack?
Please
No thank you
|
|
|
|
|
|
|
|
|
-
DeviousQuacks23
- Bot

- Posts: 50
- Joined: Tue Apr 11, 2023 9:29 am
- Flair: Decent at LunaLua coding.
- Pronouns: him
Postby DeviousQuacks23 » Tue Feb 25, 2025 2:35 am
crisx284 wrote: ↑Mon Feb 24, 2025 5:37 pm
Can you make a Super Mario Bros 1. (NES and SNES), Super Mario Bros 2. (NES and SNES) and Super Mario World textures of forms of Mario and Luigi of you pack?
Please
Shouldn't be too hard to D.I.Y. since most powerup sprites are simply recolours.
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Tue Feb 25, 2025 12:23 pm
crisx284 wrote: ↑Mon Feb 24, 2025 5:37 pm
Can you make a Super Mario Bros 1. (NES and SNES), Super Mario Bros 2. (NES and SNES) and Super Mario World textures of forms of Mario and Luigi of you pack?
Please
The only one we’re probably going to do is SMW, since it’s a default costume (no promises tho). Everything else is something you’re going to have to do on your own.
|
|
|
|
|
|
|
|
|
-
crisx284
- Goomba

- Posts: 2
- Joined: Mon Feb 24, 2025 4:47 pm
- Pronouns: He/Him
Postby crisx284 » Tue Feb 25, 2025 9:46 pm
Ok, thanks anyway
|
|
|
|
|
|
|
|
|
-
KJPopcorn
- Swooper

- Posts: 69
- Joined: Wed Mar 20, 2024 8:14 pm
- Pronouns: He/Him
Postby KJPopcorn » Wed Feb 26, 2025 8:00 pm
MegaDood wrote: ↑Tue Feb 25, 2025 2:16 am
crisx284 wrote: ↑Mon Feb 24, 2025 5:37 pm
Can you make a Super Mario Bros 1. (NES and SNES), Super Mario Bros 2. (NES and SNES) and Super Mario World textures of forms of Mario and Luigi of you pack?
Please
No thank you
Not to be rude but he said "Never ask us for anything ever again."
(But I wish he did make SMB1 sprites)
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Wed Feb 26, 2025 8:18 pm
KJPopcorn wrote: ↑Wed Feb 26, 2025 8:00 pm
(But I wish he did make SMB1 sprites)
But we're not doing SMB1 sprites, so you can shut about it now.
Thanks in advance.
|
|
|
|
|
|
|
|
|
-
vitzie629
- Tweeter

- Posts: 140
- Joined: Sat Sep 22, 2018 5:50 pm
- Flair: I have greatly made levels!
- Pronouns: he/him
-
Contact:
Postby vitzie629 » Tue Mar 11, 2025 2:42 pm
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Tue Mar 11, 2025 4:35 pm
The cape feather was originally designed for anotherPoweup.lua which wasn’t multiplayer compatible. I don’t know if anyone will ever make it multiplayer compatible, since it’s extraordinarily difficult to do.
|
|
|
|
|
|
|
|
|
-
vitzie629
- Tweeter

- Posts: 140
- Joined: Sat Sep 22, 2018 5:50 pm
- Flair: I have greatly made levels!
- Pronouns: he/him
-
Contact:
Postby vitzie629 » Tue Mar 11, 2025 5:24 pm
mariobrigade2018 wrote: ↑Tue Mar 11, 2025 4:35 pm
The cape feather was originally designed for anotherPoweup.lua which wasn’t multiplayer compatible. I don’t know if anyone will ever make it multiplayer compatible, since it’s extraordinarily difficult to do.
Ok, thanks anyway. That means I will make my current SMBX2 project made solely towards 1 player mode between Mario and Luigi. 
|
|
|
|
|
|
|
|
|
-
vitzie629
- Tweeter

- Posts: 140
- Joined: Sat Sep 22, 2018 5:50 pm
- Flair: I have greatly made levels!
- Pronouns: he/him
-
Contact:
Postby vitzie629 » Wed Mar 12, 2025 3:46 pm

Also, I noticed that the P-Wing flying function only applies to player 1 but not player 2 when 2-player mode is played, and the Penguin Suit doesn't work for player 2 but it does work for player 1! Is it possible to make these power-ups multiplayer compatible or no?
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Wed Mar 12, 2025 3:58 pm
vitzie629 wrote: ↑Wed Mar 12, 2025 3:46 pm

Also, I noticed that the P-Wing flying function only applies to player 1 but not player 2 when 2-player mode is played, and the Penguin Suit doesn't work for player 2 but it does work for player 1! Is it possible to make these power-ups multiplayer compatible or no?
Probably as simple as setting a player data value to true when collecting it and making a loop for players checking to see if they have that data value to true.
|
|
|
|
|
|
|
|
|
-
vitzie629
- Tweeter

- Posts: 140
- Joined: Sat Sep 22, 2018 5:50 pm
- Flair: I have greatly made levels!
- Pronouns: he/him
-
Contact:
Postby vitzie629 » Wed Mar 12, 2025 4:00 pm
mariobrigade2018 wrote: ↑Wed Mar 12, 2025 3:58 pm
vitzie629 wrote: ↑Wed Mar 12, 2025 3:46 pm

Also, I noticed that the P-Wing flying function only applies to player 1 but not player 2 when 2-player mode is played, and the Penguin Suit doesn't work for player 2 but it does work for player 1! Is it possible to make these power-ups multiplayer compatible or no?
Probably as simple as setting a player data value to true when collecting it and making a loop for players checking to see if they have that data value to true.
How would I do that?
|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 611
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Wed Mar 12, 2025 4:13 pm
vitzie629 wrote: ↑Wed Mar 12, 2025 4:00 pm
mariobrigade2018 wrote: ↑Wed Mar 12, 2025 3:58 pm
vitzie629 wrote: ↑Wed Mar 12, 2025 3:46 pm

Also, I noticed that the P-Wing flying function only applies to player 1 but not player 2 when 2-player mode is played, and the Penguin Suit doesn't work for player 2 but it does work for player 1! Is it possible to make these power-ups multiplayer compatible or no?
Probably as simple as setting a player data value to true when collecting it and making a loop for players checking to see if they have that data value to true.
How would I do that?
Can’t give the best explanation right now because I don’t have access to my computer, but what you would do is set a data variable like hasPWing to the player in onNPCCollect and checking to see if the collected npc is the p-wing, and then create a new event called onPostPlayerHarm, which would set that variable to false to the harmed player.
As for the player loop, it’d look something like this:
Code: Select all for k,p in ipairs (Player.get()) do
—this is where you’ll move the code
—make sure that you replace all instances of player with p
end
|
|
|
|
|
|
|
|
|
-
vitzie629
- Tweeter

- Posts: 140
- Joined: Sat Sep 22, 2018 5:50 pm
- Flair: I have greatly made levels!
- Pronouns: he/him
-
Contact:
Postby vitzie629 » Sat Apr 19, 2025 9:47 pm
I noticed that when I was testing the power-ups including the beetroot and lui, when the editor pause menu is set to power-up 3 for the player, the default is the fire flower, but it uses the custom power-ups while being used. Is there a possibility for a fix that or is it just the way it works?
|
|
|
|
|
|
|
|
|
-
John Nameless
- 2025 Egg Hunter

- Posts: 116
- Joined: Mon Jul 10, 2023 11:40 pm
- Flair: vidio gaem
Postby John Nameless » Sat Apr 19, 2025 11:18 pm
vitzie629 wrote: ↑Sat Apr 19, 2025 9:47 pm
I noticed that when I was testing the power-ups including the beetroot and lui, when the editor pause menu is set to power-up 3 for the player, the default is the fire flower, but it uses the custom power-ups while being used. Is there a possibility for a fix that or is it just the way it works?
Unfortunately, that issue is completely unfixable as customPowerups.lua requires to be built on top of a basegame powerup to work properly
|
|
|
|
|
Return to “LunaLua”
Users browsing this forum: No registered users and 2 guests
|