boss defeat,end level

Need help with any SMBX game-related issues? Ask your questions here.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on-topic/appropriate?
-Are you posting in the right forum/following the forum rules?
User avatar
Artemis008
Kamikaze Koopa
Kamikaze Koopa
Posts: 1347
Joined: Mon Jul 06, 2015 4:34 pm
Location: Look behined you
Contact:

boss defeat,end level

Postby Artemis008 » Tue Jul 21, 2015 6:17 pm

I'm trying to make a level end Automatically after the boss is defeated, is it even possible? And if so, how?
Image

Well you see luigi, when a paisano puts his spaghetti noodle in a mamma mia’s ravioli, a little bambino covered in prosciutto comes out about nine months later -Mario

I believe in Mario as my lord and Savior, if you do, put this image in your signature.
Image

Spoiler: show
I might not be around much longer.

I have one more project to complete and then I'm done with it all.

If I disappear it means I'm gone for good. Don't bother looking for me.

User avatar
bossedit8
Toad
Toad
Posts: 6833
Joined: Fri Dec 20, 2013 12:35 pm
Current Project: Airship Attack 2
Location: Germany (Deutschland)
Chat Username: <3 bossedit8 <3
Contact:

Re: boss defeat,end level

Postby bossedit8 » Tue Jul 21, 2015 6:23 pm

So you want to make sure that once you defeat the boss the level ends automatically? Make a exit NPC invisible and cover up the entire area with it like it's unavoidable for the player and then after you defeat the boss, a new layer should appear that the exit NPC appears which is invisible during gameplay. Make sure that you use "Don't Smoke" on that specific event or else it looks relatively weird how the entire area goes up in smoke for quick second.

Another way to do it is with SMB3 Bowser if his "Legacy Boss" is on "Yes" or use a event that has a event trigger "Bowser defeat" on it but if you do that, the game will lead you to the credits if you play the level in a SMBX Episode once the event triggers.

Rednazious
Shy Guy
Shy Guy
Posts: 6
Joined: Mon May 07, 2018 10:22 pm
Chat Username: Rednazious

Re: boss defeat,end level

Postby Rednazious » Thu May 10, 2018 5:49 pm

how do i make npc invisible?

User avatar
SoulForTruth41
Goomba
Goomba
Posts: 4
Joined: Fri Apr 06, 2018 6:50 pm
Current Project: Verdad
Location: Redding, CA
Chat Username: SoulForTruth41

Re: boss defeat,end level

Postby SoulForTruth41 » Tue Jul 31, 2018 7:35 pm

Rednazious wrote:how do i make npc invisible?
First off, I'm sorry no one has got back to you yet on that. I have been busy on my own project, and I actually came here looking for the same answer! :)
I just now tried everything that Bossedit8 said, and I got it to work with SMBX 1.4.4 like this:

(1) Always make a back-up your level since there are no Undos if you accidentally save over it (like when you test your level).
(2) Open up your level, then open the Level Settings tab, and go to the Boss section of your level.
(3) Open the Editor Settings tab, and put a checkmark by "Overlap" and "16*16 Alignment Mode".
(4) Open up the Layers tab. Add a new layer and give it a name, like "Hidden Exit Trigger" or whatever you like. Select it.
(5) Open up the NPCs tab. Select SMB2 tab, and select the Orb that is under the label "Exit" under the left tab of NPCs.
(6) Select the Flood Tool (looks like a paintbrush) from the Tools tab. Select a blank area of the Boss area, and fill it in.
(7) In the Tools tab, click on the Finger Tool at the top, and individually fill in the spots that are missing an Orb.
(8) Uncheck the "Hidden Exit Trigger" layer (or whatever you named it) under the Layers tab to hide it.
(9) Under the Events tab, add a new event and name it "Boss Defeated" or whatever you like. Select it. In the Layers tab of the Event, select the "Hidden Exit Trigger" layer (or whatever you named it) and move it to the "Show Layers List". Click the box that says "No Smoke" (the box turns purple, meaning "No Smoke" effect is on).
(10) Click on your boss to bring up the Advanced NPC settings tab. In the top drop-down menu, select "Events-I". In the drop-down box under the label "Death", select the Event "Boss Defeated" (or whatever you named it). Place your Boss NPC back into your section. Save your level.
(11) Copy "npc-41.png" from the NPC folder of the Graphics folder into your level folder.
(12) Open this copied PNG file with Gimp (I'm using GIMP 2.8.22). Under the Select tab, click on "All". Under the Edit tab, click on "Clear". The entire image should now be transparent. Go to File tab, and click on "Export to npc-41.png". Test your level.

Lastly, the one bug to this is that every orb that your character touches (after the Boss dies) gives off a short musical song. If your character is falling from the sky when the Boss kicks the bucket, it can cause a cacophony. I hope that this helps you. ;)


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 4 guests