[SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

FutureNyanCat
Eerie
Eerie
Posts: 766
Joined: Fri Dec 20, 2013 8:39 pm
Flair: Species: Felis robotus
Pronouns: He/Him
Contact:

[SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Postby FutureNyanCat » Sun Mar 09, 2025 5:11 am

RGB Switches - Unlimited Switch Fun!
Theoretically, you can make over 9999+* colored switches. Good luck???
*This is assuming you don't hit the in-game block limits BTW

Inspired by MegaDood's RGB pipes from his script pack, I decided to make switch blocks that have customizable colors and can be toggled with matching extra setting strings. Because... why not? You probably have dreamed a LOT about having a 9999-color switch hunt in SMBX2, and now the ability to make that dream happen is... a reality. Or don't. Maybe you could probably build pixel art with it, idk. You could even do the SO RETRO sprite in SMBX2. Or you could make the Mona Lisa out of switch blocks. Because you have access to a color picker now. I mean... that sounds kind of crazy, right?

Credits to MegaDood and The0x539 for the original scripts I used to set these up. Report any bugs to me if you do see 'em!

Anyways, on a serious note, here's how to set those up:
- Colors AND index strings are set up via the block's extra settings. Be sure you pay close attention to the extra settings or just copypaste blocks with premade extra settings out of bounds (with labels) to ensure you're organizing them properly!
- Switch colors are defined by using a color picker, much like the ones you've seen in the screen effect settings for lava as well as light source colors in basegame SMBX2.
- Switches are connected to their respective blocks via index strings. For example, if a switch block's index string is "mario", it will also toggle blocks that are named "mario". You can name whatever you want, but any switches sharing the same index string will activate the same blocks of their string!
- Colors are independent of index strings. BUT, I won't stop you from using this to make troll levels. Man, we just wanna have a bit of our evil fun sometimes huh?

Screenshots
Spoiler: show
Image
Image
Image
Download
Have fun responsibly!
MEGA: https://mega.nz/file/eNRnAAaZ#hyPO9Z1bG ... 0rvFMZa86Q
GOOGLE DRIVE: https://drive.google.com/file/d/1MXbmpG ... sp=sharing

Alagirez
Ludwig von Koopa
Ludwig von Koopa
Posts: 3598
Joined: Tue Dec 02, 2014 2:28 am
Flair: Legalize Awooo!
Pronouns: He/Him/That wolf
Contact:

Re: [SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Postby Alagirez » Sun Mar 09, 2025 7:21 am

I'll bring back the switch hunt trend with this one, and nobody can stop me.

Good job though.

ShadowStarX
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 1751
Joined: Mon Jan 27, 2014 7:21 am
Pronouns: he/him
Contact:

Re: [SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Postby ShadowStarX » Sun Mar 09, 2025 1:33 pm

Alagirez wrote:
Sun Mar 09, 2025 7:21 am
I'll bring back the switch hunt trend with this one, and nobody can stop me.

Good job though.
What about platforms rising out of nowhere via invisible triggers?

Either way yeah this is great and can make the implementation of 5+ switch colors quite trivial.

Turtle Guy
Buster Beetle
Buster Beetle
Posts: 83
Joined: Tue Sep 10, 2024 3:50 am
Flair: Spinysaurus
Pronouns: he/him/hem
Contact:

Re: [SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Postby Turtle Guy » Wed May 28, 2025 11:02 am

There should be the switch goombas here!
And the switch platforms!
Last edited by Turtle Guy on Wed May 28, 2025 11:23 am, edited 1 time in total.

mariobrigade2018
Rocky Wrench
Rocky Wrench
Posts: 641
Joined: Wed May 24, 2023 7:00 pm
Flair: OK in coding who dreams of making a Mario game
Pronouns: he/him

Re: [SMBX2] FNC2002's RGB Switches - A tool kit for making switch puzzles & hunts 999x more fun! (what have I done!?)

Postby mariobrigade2018 » Wed May 28, 2025 11:18 am

Turtle Guy wrote:
Wed May 28, 2025 11:02 am
There should be the switch goombas here!
Nooooooooo!


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari