groundPound.lua

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Wed Apr 29, 2020 2:07 pm

Oh no, the dreaded sizeable block strikes again. I've had problems with the sizeable block in other scripts, so of course it will pop up again. I will try and make better anims. Also, for the different anims: The reason I made the anims from the game and not unique is because of costumes. I don't want to ruin compatibility by adding my own sprites, so I looked and found the best ones. Maybe I could check for costumes? I'll try my best and post a new version soon!
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 150
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Current Project: Another Super Mario Bros. 3 Remake [SMBX2]

Re: groundPound.lua

Postby CJ_RLushi » Wed Apr 29, 2020 3:13 pm

What if you added that custom animations as optional? so you can keep compatibility while also making it fancier for people that might want it.
My episode lol:
Image

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Wed Apr 29, 2020 3:53 pm

CJ_RLushi wrote: What if you added that custom animations as optional? so you can keep compatibility while also making it fancier for people that might want it.
That's actually a good idea! Off to the wiki I go!
I'll update it after I've finished anim. I've fixed the mechanics, but will hold off for anims.

Added in 23 minutes 31 seconds:
To tide you over, I will post the link for the mechanic fix:
http://www.mediafire.com/file/edo5djcyp ... l.lua/file
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 150
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Current Project: Another Super Mario Bros. 3 Remake [SMBX2]

Re: groundPound.lua

Postby CJ_RLushi » Wed Apr 29, 2020 5:15 pm

One more thing, its still possible to float with the groundpound, this time quickly pressing up and down, i guess the fix would be setting a timer, so you need to wait from the moment you groundpound until you can cancel, i think NSMB works like this, one more thing, i dont know if its planned but i would like some sort of effect when you land a ground pound, maybe an sfx?

PD: i guess a timer that waits from the moment you cancel until you can gp again would also be good, im not sure let me check in mario maker quickly
My episode lol:
Image

Keroro04
Fighter Fly
Fighter Fly
Posts: 63
Joined: Tue Apr 21, 2020 7:59 pm

Re: groundPound.lua

Postby Keroro04 » Wed Apr 29, 2020 5:22 pm

Maybe the float can be intentional for ground pound canceling, ala Mario Maker? Obviously it couldn’t be used for infinite height, but it could be used to slow a person’s descent a bit if you had the right timing, ala the Screw Attack?

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 150
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Current Project: Another Super Mario Bros. 3 Remake [SMBX2]

Re: groundPound.lua

Postby CJ_RLushi » Wed Apr 29, 2020 5:27 pm

That bit of floating is not the problem, is that you can use it indefinitely without really any timer or anything, so its possible to float in the air as long as you're tapping up and down
Spoiler: show
Image
My episode lol:
Image

Keroro04
Fighter Fly
Fighter Fly
Posts: 63
Joined: Tue Apr 21, 2020 7:59 pm

Re: groundPound.lua

Postby Keroro04 » Wed Apr 29, 2020 5:30 pm

I know, it was just my suggestion on a way to fix that problem, to just make it so you’d have to wait a bit between ground pounds so that the float physics are more balanced ala Mario Maker.

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Fri May 01, 2020 12:04 pm

I've added a timer so you can't ground pound right after you just ground pounded. Currently working on costumes which I know will not be stressful :lol:
I've made the timer exposed so you can toy with it when it's released.
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Sat May 02, 2020 12:18 pm

The animation is working except for the fact that if you call for the spin animation in your luna.lua file it will not work.
Some notes about that animation: You WILL NOT be able to change costumes on mario or luigi if you enable the fancy animations.
For the person that showed Waluigi; I have banned him in newer versions because of his bombs. Same applies to link, samus, and uncle broadsword. You can play around with the lua file if you know how to use lua, but they will not be enabled by default. Maybe I could take a page from Enjl's another walljump script, where you can register animations. Please suggest anything you'd want to see in version 1.4!
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Tue May 05, 2020 3:10 pm

This has been updated! Get the new version at the top post!
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Bulby's Movement Pack
Chat Username: Bulby

Re: groundPound.lua

Postby Bulby_VR » Mon May 11, 2020 11:04 am

pushed an anti crash build, get version at the top

Added in 1 minute 7 seconds:
this might be janky on episodes because it runs a function on initAPI not on start
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

JamesR624
Cheep-Cheep
Cheep-Cheep
Posts: 18
Joined: Wed Aug 09, 2017 4:24 pm
Chat Username: JamesR624

Re: groundPound.lua

Postby JamesR624 » Tue Jul 28, 2020 2:58 pm

Hey there. This is awesome and working great. I was just curious if there was any way to set a "custom block reaction"? I am using
MrDoubleA's NPC Pack viewtopic.php?t=25011 and their Large ! block that acts how it does in Super Mario 3D World. I was curious if there was anyway to set it so that when this block is activated, the groundpound acts as an "explosion" to trigger the "push all brown blocks out at once" reaction of that block as it works in SM3DW. This could also be useful for if the creator wants the ground pound to have an "area of effect" on blocks below.

The key though is that MrDoubleA's code has the ! block react as such on a strong explosion.

Jumper
Spiny
Spiny
Posts: 47
Joined: Tue Feb 02, 2016 9:32 pm
Current Project: Ripping SMW Assets in my free time / (Attempting to) make a fan-game / Within The Castle Walls

Re: groundPound.lua

Postby Jumper » Wed Sep 16, 2020 1:18 am

This was a really useful script in general, though I do have a question: could you perhaps add a blacklist for blocks that cannot be destroyed by ground-pounding? Reason why I ask is because I want to make the Tier 3 Block be destroyed by certain power-ups, and I don't want people to cheese levels by simply ground-pounding said block.
Supported Projects: show
Image
Image
Spoiler: show
thehelmetguy1 wrote: True rules of SMBX:
1-SMB3 graphics ftw
2-SMB3 graphics are the answer to life
3-If you don't use SMB3 graphics you don't know how to make levels
4-SMB3 graphics are the most important thing to have in your level
5-SMB3 graphics were so loved that someone said they were overrated and this person died 1337 times and became a SMB3 graphic. We could make a religion out of this.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests