playerphysicspatch.lua - smbx controls like gunk

Share and discuss custom LunaLua code and content packs for SMBX2.
Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8741
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

playerphysicspatch.lua - smbx controls like gunk

Postby Enjl » Sun Jun 07, 2020 2:32 pm

https://pastebin.com/6sPkpDaL

Enable this script to make smbx fun to play.

Teasers (left is with the patch active):
Acceleration and deceleration while walking:
Spoiler: show
Image
And running:
Spoiler: show
Image
The effect is doubled while not touching the ground.

Customization options are clearly labeled within the file as variables you can modify from lunalua.
Ideas are useless if you can't make them real.
Image

User avatar
Sancles-Chan
Silver Yoshi Egg
Silver Yoshi Egg
Posts: 1961
Joined: Wed Jan 01, 2014 6:50 am
Flair: I've defeated humor

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Sancles-Chan » Sun Jun 07, 2020 2:33 pm

this is truly the savior of smbx community
She/Her

User avatar
Melko
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Fri Mar 22, 2019 12:40 am
Flair: Cricket noises!

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Melko » Wed Jun 10, 2020 8:28 am

Simply using this brings me ludicrous amounts of satisfaction. We are on the road to the perfect platforming experience.
How do I forum.

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

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Murphmario » Thu Jun 11, 2020 1:11 am

Don't know if I'm missing a joke, but I can't run with this enabled.
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.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8741
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Enjl » Thu Jun 11, 2020 3:39 am

Murphmario wrote:
Thu Jun 11, 2020 1:11 am
Don't know if I'm missing a joke, but I can't run with this enabled.
Strange. I briefly tested all characters before putting this up. I know sliding is a bit weird, but running shouldn't pose an issue.
Ideas are useless if you can't make them real.
Image

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

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Murphmario » Thu Jun 11, 2020 1:45 pm

Enjl wrote:
Thu Jun 11, 2020 3:39 am
Murphmario wrote:
Thu Jun 11, 2020 1:11 am
Don't know if I'm missing a joke, but I can't run with this enabled.
Strange. I briefly tested all characters before putting this up. I know sliding is a bit weird, but running shouldn't pose an issue.
Actually, just ignore my post. I forgot that I put a code in my Invasion 2 folder that prevents running.
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.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8741
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Enjl » Thu Jun 11, 2020 1:50 pm

Murphmario wrote:
Thu Jun 11, 2020 1:45 pm
Enjl wrote:
Thu Jun 11, 2020 3:39 am
Murphmario wrote:
Thu Jun 11, 2020 1:11 am
Don't know if I'm missing a joke, but I can't run with this enabled.
Strange. I briefly tested all characters before putting this up. I know sliding is a bit weird, but running shouldn't pose an issue.
Actually, just ignore my post. I forgot that I put a code in my Invasion 2 folder that prevents running.
Ohh, that explains it. Thanks for the follow-up!
Ideas are useless if you can't make them real.
Image

User avatar
FanofSMBX
Bowser
Bowser
Posts: 3884
Joined: Sun Dec 22, 2013 12:01 pm

Re: playerphysicspatch.lua - smbx controls like gunk

Postby FanofSMBX » Thu Jun 11, 2020 3:01 pm

Odd, I've always preferred SMBX's physics to those of SMB3 and SMW. It feels easier to land on small platforms for example.

I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.
My graphics pack!
Supporting forums:

Spoiler: show
SMBX Galaxy forum by Pivot40Channel
http://smbxgalaxy.prophpbb.com/
Come to the SMBX+ forums by illias3000. There is a whole forum category dedicated to the boss rush series with official rushes, submit bosses, and fan boss rushes! It is still open but AirSeus Forums is now open:
http://nsmbx.prophpbb.com/
AirSeus Forums the new home of the Boss Rush series:
http://smbxairseusforums.prophpbb.com/
Spoiler: show
First to discover:
Spark
Eerie
Grinder
Rainbow Shell
Birdo
Boom Boom
Image
Image
Image
Image
Image
KINGBOWSER112 RULES!


thedarkcave215
Rex
Rex
Posts: 81
Joined: Tue Jun 09, 2020 2:30 pm
Flair: Bubbly drinks are best served cold.

Re: playerphysicspatch.lua - smbx controls like gunk

Postby thedarkcave215 » Thu Jun 25, 2020 2:52 pm

This looks pretty cool, but what level is in the screenshots?!
Soon enough, this pandemic will be over. ;)
(gen 1) If you like SML2, put this into your signature the first time you see this and add 1 to "gen x"
I support:
Spoiler: show
Image

Image

Image

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 151
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters

Re: playerphysicspatch.lua - smbx controls like gunk

Postby CJ_RLushi » Thu Jun 25, 2020 2:54 pm

Its definitely some dummy test level
My episode lol:
Image

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 151
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters

Re: playerphysicspatch.lua - smbx controls like gunk

Postby CJ_RLushi » Sun Jun 28, 2020 3:38 pm

So I found a bug, sliding with this is really slow
Spoiler: show
Image
My episode lol:
Image

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8741
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Enjl » Sun Jun 28, 2020 4:41 pm

CJ_RLushi wrote:
Sun Jun 28, 2020 3:38 pm
So I found a bug, sliding with this is really slow
Spoiler: show
Image
Enjl wrote:
Thu Jun 11, 2020 3:39 am
Strange. I briefly tested all characters before putting this up. I know sliding is a bit weird, but running shouldn't pose an issue.
Yup. I'm aware. Haven't really gotten around to putting the one-line fix (disabling it all while sliding) in cause I haven't needed to slide in smbx for like 4 years so it keeps falling off the deep end of my todo list.
Ideas are useless if you can't make them real.
Image

User avatar
CJ_RLushi
Hoopster
Hoopster
Posts: 151
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters

Re: playerphysicspatch.lua - smbx controls like gunk

Postby CJ_RLushi » Sun Jun 28, 2020 5:33 pm

So where could I put the fix?
My episode lol:
Image

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8741
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Enjl » Mon Jun 29, 2020 1:16 am

CJ_RLushi wrote:
Sun Jun 28, 2020 5:33 pm
So where could I put the fix?
Just updated the link. Should be good now.
Ideas are useless if you can't make them real.
Image

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

Re: playerphysicspatch.lua - smbx controls like gunk

Postby JamesR624 » Wed Jul 29, 2020 3:18 pm

This is awesome but I do wanna mention that it seems to really mess up "slippery physics". Now anything with the slippery property is more like slime. It INCREASES friction with this patch on as opposed to decreasing which is what it's supposed to do.

User avatar
Yoshi Milkman
Goomba
Goomba
Posts: 1
Joined: Sun Sep 13, 2020 6:40 pm
Flair: Gamer Xtreme

Re: playerphysicspatch.lua - smbx controls like gunk

Postby Yoshi Milkman » Sun Sep 13, 2020 6:55 pm

A fix to this would be greatly appreciated
JamesR624 wrote:
Wed Jul 29, 2020 3:18 pm
This is awesome but I do wanna mention that it seems to really mess up "slippery physics". Now anything with the slippery property is more like slime. It INCREASES friction with this patch on as opposed to decreasing which is what it's supposed to do.
Last edited by Yoshi Milkman on Sun Sep 13, 2020 6:55 pm, edited 1 time in total.


Return to “LunaLua”

Who is online

Users browsing this forum: AndrewPixel and 3 guests