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

groundPound.lua

Postby Bulby_VR » Mon Nov 25, 2019 7:06 pm

Version 1.5
old version was being janky with the crashing with link and such, so here is a new link

Copy from previous version :
This is so radically different from the other versions that the library name has changed.
Please note if you want the spin animation you will give up changing mario and luigi's costumes.
After dragging everything from this zip
into your local or episode folder, do one of the following:
If you want to see the somersault before you pound put this in your luna.lua file:

Code: Select all

local groundPoundNeue = require("groundPoundNeue");
groundPoundNeue.registerAllPlayersFancyAnim();
If you want to change costumes or don't want a spin animation do this:

Code: Select all

local groundPoundNeue = require("groundPoundNeue");
groundPoundNeue.registerAllPlayersDefault();
This also fixes most of the jank with non-solid platforms. Please post if you see anything janky!

Old Versions:
Spoiler: show
Version 1.4
Tada! It's a spinning animation!
Here's a demo!

This is so radically different from the other versions that the library name has changed.
Please note if you want the spin animation you will give up changing mario and luigi's costumes.
After dragging everything from this zip
into your local or episode folder, do one of the following:
If you want to see the somersault before you pound put this in your luna.lua file:

Code: Select all

local groundPoundNeue = require("groundPoundNeue");
groundPoundNeue.registerAllPlayersFancyAnim();
If you want to change costumes or don't want a spin animation do this:

Code: Select all

local groundPoundNeue = require("groundPoundNeue");
groundPoundNeue.registerAllPlayersDefault();
This also fixes most of the jank with non-solid platforms. Please post if you see anything janky!
That's basically it!

Version 1.3
This version polishes some things.
You can no longer ground pound underwater
Note; You've always been able to do this but I should explain the controls.
Hitting down makes you ground pound. Hitting up while ground pounding will cancel the ground pound.
I will update this as soon as I record a video!
Download: http://www.mediafire.com/file/zolmwjk4m ... l.lua/file
Add

Code: Select all

local gp = require("groundPoundPal")
to your luna lua file.
You can also edit how long you stay in the air by using

Code: Select all

gp.delayUntilPound = 20
Version 1.2
You now delay before ground pounding, in a different pose to boot!
Add

Code: Select all

local gp = require("groundPoundPal")
to your luna lua file.
You can also edit how long you stay in the air by using

Code: Select all

gp.delayUntilPound = 20
This is measured in ticks.
Download: http://www.mediafire.com/file/3qq7aibo6 ... l.lua/file
Version 1.1
This is almost the same as the previous version but now has support for PAL characters (Megaman, Wario, etc.)
Bowser can't instant kill enemies because of his character specific ability.
It's still 2 Player Compatible and now compatible with all characters except for Link, Bomberman, Uncle Broadsword, and Samus, as they already have something in their move set that allows them to destroy blocks from above.

Download: http://www.mediafire.com/file/kxt49814d ... l.lua/file

You have to change your luna lua file and add

Code: Select all

local gp = require("groundPoundPal")
You can no longer edit defines within your luna lua file, and will have to edit the file directly.
Version 1.0
I have done it!
The magical (and janky) Ground Pound script!
Here is a demo:


Features:
2 Player Compatibility
Compatible with Mario, Luigi, Toad, and Peach.
Can instant kill certain enemies. (like rex and koopa troopa)

Download: http://www.mediafire.com/file/1od5fuwpb ... d.lua/file

To install, put the file in your episode or level file and add this to your luna.lua file

Code: Select all

local gp = require("groundPound")
You can also edit the gravity define, how fast your normal fall speed is, how fast your initial ground pound speed is, and how fast your ground pound speed is.
In your luna.lua file, add

Code: Select all

gp.gravityDefine = 20; -- gravity 

Code: Select all

gp.terminalSpeed = 12; -- maximum fall speed

Code: Select all

gp.speedPound = 14; -- maximum fall speed during ground pound

Code: Select all

gp.initialPound = 12; -- fall speed at start of ground pound
Last edited by Bulby_VR on Mon May 11, 2020 11:04 am, edited 5 times in total.
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
Murphmario
Larry Koopa
Larry Koopa
Posts: 2179
Joined: Fri Dec 20, 2013 7:07 pm

Re: groundPound.lua

Postby Murphmario » Wed Nov 27, 2019 1:52 pm

Looks decent, but maybe you could add a delay before falling to make it look nicer.
Now taking graphics requests:
https://docs.google.com/forms/d/1urWpFq ... #responses

My graphics pack:
http://www.supermariobrosx.org/forums/v ... t=1960/url

Really tempted to just make a general graphics thread for all of my graphics instead of just making individual threads for each of them.

User avatar
MarioLover64
Blooper
Blooper
Posts: 189
Joined: Fri Apr 26, 2019 6:09 pm

Re: groundPound.lua

Postby MarioLover64 » Fri Nov 29, 2019 4:50 pm

I cant duck

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am

Re: groundPound.lua

Postby Bulby_VR » Fri Nov 29, 2019 4:55 pm

MarioLover64 wrote:
Fri Nov 29, 2019 4:50 pm
I cant duck
Like, while big mario? I don’t think I locked the down button so you should be able to crouch.
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
MarioLover64
Blooper
Blooper
Posts: 189
Joined: Fri Apr 26, 2019 6:09 pm

Re: groundPound.lua

Postby MarioLover64 » Fri Nov 29, 2019 5:12 pm

Apparently when I bounce on a noteblock I lose the ability to crouch

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am

Re: groundPound.lua

Postby Bulby_VR » Fri Nov 29, 2019 5:20 pm

Can you be more specific (what character did you use, what version did you have, recording if possible)

Added in 7 minutes 16 seconds:
I just realized silly me didn't update this post
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
MarioLover64
Blooper
Blooper
Posts: 189
Joined: Fri Apr 26, 2019 6:09 pm

Re: groundPound.lua

Postby MarioLover64 » Fri Nov 29, 2019 5:31 pm

Mario, PAL
Image

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am

Re: groundPound.lua

Postby Bulby_VR » Fri Nov 29, 2019 5:35 pm

That might have something to do with the wall jump because it looks like you have Enji's another wall jump on. You also didn't seem to use the ground pound, so maybe mine conflicts? I don't really check my stuff with other people's work, so I'll have to check.

Added in 4 minutes 10 seconds:
Try taking off the ground pound script and see if it still happens
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6306
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: groundPound.lua

Postby MECHDRAGON777 » Sun Dec 01, 2019 2:07 pm

I can confirm that walljump codes remove the ability to duck if you slide down a wall and touch the ground without jumping off the wall. (I.E. Touch the wall and ground at the same time while sliding down a wall.)

ImageImageImage
Image

Image

User avatar
SPEEDIE
Hoopster
Hoopster
Posts: 158
Joined: Sat Nov 03, 2018 6:22 pm
Flair: https://discord.gg/fahyrvk
Contact:

Re: groundPound.lua

Postby SPEEDIE » Sun Dec 01, 2019 2:57 pm

MarioLover64 wrote:
Fri Nov 29, 2019 5:12 pm
Apparently when I bounce on a noteblock I lose the ability to crouch
Late but this happens for me but with a different script

Anotherwalljump.lua by Enjl.
If something sounds too good to be true, it probably is.

Join my SMBX discord server for exclusive updates and much more.
https://discord.gg/fahyrvk

Finished Projects:

Image

Ongoing Projects:

Blade of Justice.

User avatar
CheesyYoY
Spiny
Spiny
Posts: 48
Joined: Wed Aug 01, 2018 7:51 pm
Flair: I exist

Re: groundPound.lua

Postby CheesyYoY » Wed Jan 01, 2020 11:54 pm

Ngl if there was a quick spin animation, i would lose my shit

Image
Confirmed greatest episode of all time by me. 8-)
(you can click the image to see the post)


Discord

Spoiler: show
YoY#4811

User avatar
Yummymemes
Spiny
Spiny
Posts: 44
Joined: Tue Dec 10, 2019 9:01 pm

Re: groundPound.lua

Postby Yummymemes » Sun Jan 19, 2020 10:38 pm

Umm, where do I put it, because it keeps on showing an error. (I am using Smbx2 beta 4) :(
Mmmmmmmm, I like me self some Yummy Memes!!
Cookies and milk, come on, how about cookies and memes!
"I don't think of myself one with the cookie, but as the cookie." Yummymemes 2020

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am

Re: groundPound.lua

Postby Bulby_VR » Wed Feb 05, 2020 10:28 am

Haven't tested on beta 4 yet, and i might do a spin anim :P
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
MarioLover64
Blooper
Blooper
Posts: 189
Joined: Fri Apr 26, 2019 6:09 pm

Re: groundPound.lua

Postby MarioLover64 » Wed Feb 05, 2020 10:31 am

Its works on beta 4, I tested it myself

User avatar
Bulby_VR
Bob-omb
Bob-omb
Posts: 33
Joined: Wed Aug 07, 2019 11:18 am

Re: groundPound.lua

Postby Bulby_VR » Wed Feb 05, 2020 12:49 pm

Oh if you mean spin like a somersault then I can't, I don't make sprites, but I could make a spin anim for luigi and mario as they do with their spin jump.
an ace at making garbo code
When I use mediafire, I use adblock, and you should too when using my links.

User avatar
Murphmario
Larry Koopa
Larry Koopa
Posts: 2179
Joined: Fri Dec 20, 2013 7:07 pm

Re: groundPound.lua

Postby Murphmario » Wed Feb 05, 2020 12:57 pm

You could either rotate the sliding sprite (if it's possible) or somehow incorporate the SMB3 star jumping sprites.
Now taking graphics requests:
https://docs.google.com/forms/d/1urWpFq ... #responses

My graphics pack:
http://www.supermariobrosx.org/forums/v ... t=1960/url

Really tempted to just make a general graphics thread for all of my graphics instead of just making individual threads for each of them.

User avatar
Yummymemes
Spiny
Spiny
Posts: 44
Joined: Tue Dec 10, 2019 9:01 pm

Re: groundPound.lua

Postby Yummymemes » Wed Feb 05, 2020 2:06 pm

So where do I put it? (sorry I don't understand lua :( ) I tried putting it in the episodes folder but it doesn't work, I just get an error message. :(
Mmmmmmmm, I like me self some Yummy Memes!!
Cookies and milk, come on, how about cookies and memes!
"I don't think of myself one with the cookie, but as the cookie." Yummymemes 2020

User avatar
DrMekar
Koopa Shell
Koopa Shell
Posts: 663
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: groundPound.lua

Postby DrMekar » Wed Feb 05, 2020 2:28 pm

Yummymemes wrote:
Wed Feb 05, 2020 2:06 pm
So where do I put it? (sorry I don't understand lua :( ) I tried putting it in the episodes folder but it doesn't work, I just get an error message. :(
You put the file "groundPoundPal.lua" in your Episode folder and load it in the libary via the sentece given above. That sentence needs to be written in a lua file calld luna.lua, which also needs to be in the Folder of the Episode.
My Youtube Channel: https://www.youtube.com/channel/UC-8fzX ... subscriber

My Episodes & Projects:
ImageImage


If you want to support my Projects, put this in your signature. Thanks :)
Spoiler: show

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?f=36&t=25110[/url]
Great Folks who support/ed my projects/in the past:

Suecra
jaf
Suckerman7 GM

Image

User avatar
DrMekar
Koopa Shell
Koopa Shell
Posts: 663
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: groundPound.lua

Postby DrMekar » Wed Feb 05, 2020 2:31 pm

While I really like this feature, I think that a diffrent animation should be used, because it
looks kinda odd ;D

Image
My Youtube Channel: https://www.youtube.com/channel/UC-8fzX ... subscriber

My Episodes & Projects:
ImageImage


If you want to support my Projects, put this in your signature. Thanks :)
Spoiler: show

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?f=36&t=25110[/url]
Great Folks who support/ed my projects/in the past:

Suecra
jaf
Suckerman7 GM

Image

User avatar
Dudboi2005
Mega Mole
Mega Mole
Posts: 264
Joined: Fri May 04, 2018 12:04 am
Flair: I am the master of level creations
Contact:

Re: groundPound.lua

Postby Dudboi2005 » Fri Mar 27, 2020 6:31 pm

It's good to see a Ground Pound being made in lunalua. I quite enjoyed this until I see some criticism I want to share about this script.

First, for some reason you can't properly ground pound while you're in a sizable block while you can when you're not in the sizable block:
Image
Second, when I press down alot of times; it makes you glitch ground pound while you float down slowly and time to time. I don't know if that's supposed to work like that for this script, but I feel like this ground pound function while pressing down multiple times isn't normal compared to the other Mario games with the ground pound ability:
Image
And lastly, when I ground pound as big Mario he ground pounds on the ground weirdly unlike small Mario:
Image

To be fair, this is a decent ground pound script; but I hope it's possible for these issues to be fixed anytime soon.
The Novaverse: (New MATMSS banner also included!)
Image
Image

I support:
Spoiler: show
Image

My project:
Image
My Youtube channel:
Image


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests