groundPound.lua

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
Bulby_VR
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

groundPound.lua

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

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
Old Versions:
Spoiler: show
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 Fri Nov 29, 2019 5:32 pm, edited 2 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: 2027
Joined: Fri Dec 20, 2013 7:07 pm
Current Project: Project planned; waiting for SMBX2 Beta 4

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
Bit
Bit
Posts: 141
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
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

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
Bit
Bit
Posts: 141
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
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

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
Bit
Bit
Posts: 141
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
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

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: 6168
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Current Project: http://www.supermariobrosx.org/forums/v ... 9&start=10
Chat Username: 鬼人 正邪
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

User avatar
SPEEDIE
Spiny
Spiny
Posts: 43
Joined: Sat Nov 03, 2018 6:22 pm
Flair: Ninji ♥
Current Project: Bowser's Last Attempt
Chat Username: SPEEDIE
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.
Your goals aren't always reached, that's why they are goals. :)
Image

Current Projects
Image
viewtopic.php?f=90&t=24794
Finished Projects
Image
viewtopic.php?f=36&t=23060
Please do not check this terrible piece of garbage out But you can if you want to bother me :oops:

User avatar
CheesyYoY
Spiny
Spiny
Posts: 48
Joined: Wed Aug 01, 2018 7:51 pm
Flair: I exist
Current Project: Super Mario Isleventure
Chat Username: Yoel Yonkers

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
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

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
Bit
Bit
Posts: 141
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
Koopa Troopa
Koopa Troopa
Posts: 21
Joined: Wed Aug 07, 2019 11:18 am
Current Project: Super Mario 3D World Crouch + Long Jump
Chat Username: Bulby

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: 2027
Joined: Fri Dec 20, 2013 7:07 pm
Current Project: Project planned; waiting for SMBX2 Beta 4

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
Lakitu
Lakitu
Posts: 471
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Current Project: Mario Hereos 2: The Seal of Darkness, Mario Heroes: The First Chapter REMASTERED, Path of Silence
Chat Username: DrMekar
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
Lakitu
Lakitu
Posts: 471
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Current Project: Mario Hereos 2: The Seal of Darkness, Mario Heroes: The First Chapter REMASTERED, Path of Silence
Chat Username: DrMekar
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


Return to “LunaLua”

Who is online

Users browsing this forum: Hoeloe and 1 guest