[SOLVED] How to start 2.0 episode as Wario?

Need help with any SMBX game-related issues? Ask your questions here.
P-U-R-G
Koopa
Koopa
Posts: 16
Joined: Wed Jan 13, 2016 9:34 am
Pronouns: he/him

[SOLVED] How to start 2.0 episode as Wario?

Postby P-U-R-G » Sat Aug 05, 2023 11:02 am

I've been using SMBX for a quite a long time now, but I've only recently started using 2.0b4 and am working on a Wario episode.
I can't figure out how to have Wario be the selected player from the launcher, or from when the episode starts. Is there any way to do this?

Sorry if this has been asked before, but I couldn't find any helpful threads about this.
Thank you in advance!

Added in 2 hours 32 minutes 11 seconds:
for note, this is all ive found...

Image
the 'Disable characters', i want only Wario to be playable, how can i set that?
Last edited by P-U-R-G on Sat Sep 02, 2023 8:48 am, edited 1 time in total.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9722
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to start 2.0 episode as Wario?

Postby Emral » Sun Aug 06, 2023 10:19 pm

For the time being you're gonna have to put this block of code into both your episode-wide luna.lua and map.lua:

function onStart()
player:transform(CHARACTER_WARIO)
end

If you already have a function onStart, simply put the player:transform line into the existing onStart, rather than adding a second onStart.

P-U-R-G
Koopa
Koopa
Posts: 16
Joined: Wed Jan 13, 2016 9:34 am
Pronouns: he/him

Re: How to start 2.0 episode as Wario?

Postby P-U-R-G » Mon Aug 07, 2023 8:03 pm

Woah! Thanks so much man, you're a legend!
btw, I've really admired your work with smbx through the years, you were why I got into smbx so this is kind of an honour for me!

mariobrigade2018
Spike
Spike
Posts: 275
Joined: Wed May 24, 2023 7:00 pm
Flair: Normie in coding who dreams of making a Mario game
Pronouns: he/him

Re: How to start 2.0 episode as Wario?

Postby mariobrigade2018 » Wed Aug 09, 2023 2:42 am

Another thing: make sure player selection (and maybe 2-player as well) is disabled to prevent confusion and make the launcher look cleaner.

P-U-R-G
Koopa
Koopa
Posts: 16
Joined: Wed Jan 13, 2016 9:34 am
Pronouns: he/him

Re: How to start 2.0 episode as Wario?

Postby P-U-R-G » Thu Aug 10, 2023 10:18 pm

mariobrigade2018 wrote:
Wed Aug 09, 2023 2:42 am
Another thing: make sure player selection (and maybe 2-player as well) is disabled to prevent confusion and make the launcher look cleaner.
How Can I disable 2 player mode? also thank you for the tip!

deice
Volcano Lotus
Volcano Lotus
Posts: 548
Joined: Fri Jul 23, 2021 7:35 am

Re: How to start 2.0 episode as Wario?

Postby deice » Fri Aug 11, 2023 6:44 am

P-U-R-G wrote:
Thu Aug 10, 2023 10:18 pm
How Can I disable 2 player mode?
create a folder inside your episode named "launcher" and a file inside that's called "info.json" (without the quotation marks)
inside "info.json", put:

Code: Select all

{
	"allowTwoPlayer": false
}
you can go to "data/_templates/launcherDemo" inside your smbx2 folder to see how other launcher settings work as well

P-U-R-G
Koopa
Koopa
Posts: 16
Joined: Wed Jan 13, 2016 9:34 am
Pronouns: he/him

Re: How to start 2.0 episode as Wario?

Postby P-U-R-G » Sat Aug 12, 2023 1:12 pm

Thank you so much deice! Cheers everyone, its honestly really cool to know that peeps still come to these forums to help others out.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari