[NPC/lua pack] Piranha Plants Ultimate (v1.1)

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

marioSuper21
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Thu Jul 31, 2025 8:43 am
Pronouns: he

[NPC/lua pack] Piranha Plants Ultimate (v1.1)

Postby marioSuper21 » Fri Aug 01, 2025 3:51 pm

What i did was just combine the piranhaPlant.lua from MrDoubleA and the Grounded Piranha Plant.lua from MegaDood and add improvements to it.

Piranha Plant:
Image
Grounded Piranha Plant:
Image

Changelog:
[1.0] - Initial release.
[1.1] - Modified the rotation of the piranha's head to move towards the player smoothly, with the addition of a move function to control the speed of the piranha plant to be equal to the speed of the first piranha plant.

Credits:
piranhaPlant.lua script by MrDoubleA in SMBX2b5
Grounded Piranha Plant.lua script by MegaDood

future:
Spoiler: show
Horizontal Piranha Plant -- coming soon
Fire Piranha Plant
Jumping Piranha Plant
Download
Last edited by marioSuper21 on Sun Aug 03, 2025 8:23 pm, edited 1 time in total.

mariobrigade2018
Rocky Wrench
Rocky Wrench
Posts: 682
Joined: Wed May 24, 2023 7:00 pm
Flair: OK in coding who dreams of making a Mario game
Pronouns: he/him

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.0)

Postby mariobrigade2018 » Fri Aug 01, 2025 4:00 pm

Cool, but like, what’s the difference between this and the aforementioned stuff?

marioSuper21
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Thu Jul 31, 2025 8:43 am
Pronouns: he

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.0)

Postby marioSuper21 » Fri Aug 01, 2025 4:17 pm

mariobrigade2018 wrote:
Fri Aug 01, 2025 4:00 pm
Cool, but like, what’s the difference between this and the aforementioned stuff?
Thank you! :D
Excellent question indeed!
The main difference is that the Piranha Plants Ultimate pack focuses on variety and expansion.
It currently includes the Normal and Grounded types, but I'll be working on adding Fire, Jumping, and others in the future—all with a unified and organized visual style.
The goal is for the pack to be comprehensive, cohesive, and easily expandable in the future.

Shaktool
2025 Egg Hunter
2025 Egg Hunter
Posts: 502
Joined: Thu Jul 25, 2024 5:34 am
Flair: i have 0 dollars
Pronouns: HIM...

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.0)

Postby Shaktool » Sat Aug 02, 2025 6:09 am

mariobrigade2018 wrote:
Fri Aug 01, 2025 4:00 pm
Cool, but like, what’s the difference between this and the aforementioned stuff?
they're combined?

marioSuper21
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Thu Jul 31, 2025 8:43 am
Pronouns: he

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.0)

Postby marioSuper21 » Sat Aug 02, 2025 7:15 am

Yes, that's one of the pack's goals: to bring together all Piranha Plant species into one organized project, unified in form, behavior, and aesthetics.
Instead of having them scattered across various sources, I've put them all in one place.
This isn't meant as an insult to other packs; without them, this pack wouldn't exist in the first place!

ShineBlaster
Swooper
Swooper
Posts: 79
Joined: Sat Jun 28, 2025 8:27 pm
Flair: Quiet and beginner level designer
Pronouns: He/Him

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.0)

Postby ShineBlaster » Sat Aug 02, 2025 8:34 am

That's awesome my friend! I'm looking forward to the extra stuff you'll add in the future. Keep it up!

marioSuper21
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Thu Jul 31, 2025 8:43 am
Pronouns: he

Re: [NPC/lua pack] Piranha Plants Ultimate (v1.1)

Postby marioSuper21 » Mon Aug 04, 2025 6:57 am

In this version: The piranha's head rotation has been updated to smoothly move toward the player instead of jumping directly to the target angle.
And new move function has also been added to match the speed of the original piranha plant.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari