(Request) SMW Jumping Fire Piranha Plant

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

NoMoreStars
Bob-Omb
Bob-Omb
Posts: 22
Joined: Sat Jun 06, 2015 1:58 am
Flair: I'M A STONE LUIGI
Pronouns: She/Her

(Request) SMW Jumping Fire Piranha Plant

Postby NoMoreStars » Thu Oct 03, 2019 11:10 pm

Just a simple NPC request for the rare Jumping Fire Piranha Plant (listed as Fire P-Pakkun on the Mario Wiki) variant found in Super Mario World in which it shoots two fireballs that fall left and right after the Piranha Plant is launched out of it's pipe. I'd attempt to code it myself but I don't think I feel 100% comfortable coding my own custom NPC's just yet. Just a simple challenge to anyone else who may be up to the task!

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

Re: (Request) SMW Jumping Fire Piranha Plant

Postby Emral » Fri Oct 04, 2019 6:54 am

I have a super old piece of code that adds this functionality on top of the basegame plant. It shoots a wart bubble resprited to look like a fire ball.
https://hastebin.com/xutukufelo.rb
Dunno if it suffices but it was a vastly easier thing to do 3 years ago than to program the weird interaction where a piranha loses its hitbox once it sinks into a pipe from scratch lol.

NoMoreStars
Bob-Omb
Bob-Omb
Posts: 22
Joined: Sat Jun 06, 2015 1:58 am
Flair: I'M A STONE LUIGI
Pronouns: She/Her

Re: (Request) SMW Jumping Fire Piranha Plant

Postby NoMoreStars » Sun Oct 06, 2019 2:20 pm

Thanks a lot Enjl. I'm guessing that it won't be that hard to have normal and fire jumping piranha plants in the same level with a simple check on NPC direction. I'll have to test that out later for myself.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 26 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari