A downloadable plugin

Download NowName your own price

Another quality-of-life plugin for GBStudio developers, enabling up to 512 options when using a switch statement. I could implement more if need be but that seems like more than will ever be necessary lol.

- Updated to 4.1.3, thanks to @Clockwork Prince for calling me out smh

StatusReleased
CategoryGame mod
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorCormorant42
Tagsgbstudio, plugin, switch

Download

Download NowName your own price

Click download now to get access to the following files:

XLSwitch_4-1-3.zip 1.1 kB

Comments

Log in with itch.io to leave a comment.

  Don't really understand how this works is it a super large menu? Or does it switch around tiles. Also do you need to use all 511 Variables in GB studio because I'm seeing 512 total options and there are only 255 as the highest a variable can go.

 But, there is only five hundred ELEVEN (not 12) variables. I'm thinking you might just split the values between 2 variables

It's a "switch" statement, basically it reads *one* variable (you definitely don't have to use every single variable) and it jumps to the section matching that variable's value and executes the code there. There's 512 options because the default GBStudio only has 16 options, which is kinda limiting if you want to use switch statements to control a large part of your game.

(2 edits)

This thing is a game changer. And far faster than 5 switches in a row. I couldn't make what I'm making without  it!

(+1)

Much appreciated! I should mention I'm a fan, and have used your music in multiple projects so far (though they remain unpublished XD)

Thanks. I’m going to put your name in the credits of something pretty innovative coming up soon. 

(+1)

Well now I'm excited!

msg me on discord. :)

Ooh this is very useful

Can't imagine not having this plugin after using it, 11/10

(+1)

Thanks!