Boss warping

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

The Great Fusilli
Fighter Fly
Fighter Fly
Posts: 37
Joined: Wed Aug 27, 2014 8:51 pm

Boss warping

Postby The Great Fusilli » Fri Sep 19, 2014 7:02 pm

how can I make a boss like mother brain warp to a different spot without it needing to follow another object? im trying to make a boss fight where the boss teleports around the room so its harder to hit?

Julia Pseudo
Luigi
Luigi
Posts: 5609
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: Boss warping

Postby Julia Pseudo » Fri Sep 19, 2014 8:43 pm

Mother Brain can be attached to a moving layer, so you can move her around with events easily. If you want her to teleport, you'd probably make her layer disappear, move very quickly to the ending spot, and then reappear. This should work rather well.

Imaynotbehere4long
Boomerang Bro
Boomerang Bro
Posts: 1389
Joined: Thu Jan 23, 2014 3:00 pm

Re: Boss warping

Postby Imaynotbehere4long » Fri Sep 19, 2014 10:56 pm

Pseudo-dino wrote:If you want her to teleport, you'd probably make her layer disappear, move very quickly to the ending spot, and then reappear.
I just tested this; if Mother Brain is on a layer, and said layer disappears, Mother Brain's health will reset. If the layer disappears too frequently, the boss will be impossible to defeat.


If you want to make a teleporting boss, you'll need to make it a layer-based boss. Make one sprite swap that is the actual boss graphic, but make the kill-able NPC invisible. Next, make sure the events hide/reveal the hitbox NPC and the graphic NPC at the same time and move them at the same speed. If you want the boss to take more than one hit to kill, you will need to attach the first kill-able NPC to another one of that same NPC, as well as have invisible enemies and Toads in unreachable areas to trigger the corresponding teleportation events for the next hitbox NPC when the first one is killed (that way, said NPC isn't out of sync with the graphic NPC).

Probably the only example of a teleporting boss in SMBX would be the magician in Little Ruins, one of my levels. If you don't think I explained it well enough, go to this link and download the Little Samson based level, then carefully analyze the different layers and events and how they all work together.
http://www.smbxgame.com/forums/v ... f=34&t=824

Fuyu
Fry Guy
Fry Guy
Posts: 3137
Joined: Sat Dec 21, 2013 2:40 pm
Pronouns: He/Him

Re: Boss warping

Postby Fuyu » Sat Sep 20, 2014 10:18 pm

What you could do is make Mother Brain harmless, and make a sprite identical to the boss's sprite you're using, which will actually cause damage to the player. When you want to make Mother Brain move, instead of making her disappear you could actually use some kind of moving animation like Nintendo used to make on the older Super Nintendo games, or even make her move really fast as if she teleports. Once the Mother Brain stops moving you could make an event that reveals the very same NPC that caused damage to the player in the same spot as Mother Brain is. And there you go, a good warping boss.

Now, this might not be your type of warping A.I. but I think it is great and one of the best implements you could get to make on SMBX.


Return to “Help and Support”

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari