Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Sun Dec 03, 2017 2:14 pm
OlieGamerTV wrote:PixelPest wrote:OlieGamerTV wrote:This is awesome! now i can make some tricky wall jumping sections, just one suggestion, could you make it so that you can't grab onto a wall while your holding an item?
reason being is that it looks silly walljumping with something like a key for instance
Yeah. I'm surprised nobody else (including myself) has noticed that. Good eye! I'll fix it and update it with a new link
Thanks, i found it by just messing around [holding a key and trying to wall jump] it just looked plain funny, also, +1 for quick reply
I've fixed it and updated the links in the OP
|
|
|
|
|
|
|
|
|
-
OlieGamerTV
- Spike

- Posts: 273
- Joined: Sun Nov 26, 2017 7:23 am
Postby OlieGamerTV » Sun Dec 03, 2017 2:15 pm
PixelPest wrote:OlieGamerTV wrote:PixelPest wrote:
Yeah. I'm surprised nobody else (including myself) has noticed that. Good eye! I'll fix it and update it with a new link
Thanks, i found it by just messing around [holding a key and trying to wall jump] it just looked plain funny, also, +1 for quick reply
I've fixed it and updated the links in the OP
well that was a fast update, now... to update my project with the new script, i will tell you how well it works for me when i have tested it
Edit: New Update works great! now it feels more like a actual modern mario wall jump, how about being able to choose which blocks you can wall jump off? would that be possible?
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Sun Dec 03, 2017 3:44 pm
I can add that
|
|
|
|
|
|
|
|
|
-
OlieGamerTV
- Spike

- Posts: 273
- Joined: Sun Nov 26, 2017 7:23 am
Postby OlieGamerTV » Sun Dec 03, 2017 3:54 pm
PixelPest wrote:I can add that
yay! can't wait to see that!
|
|
|
|
|
|
|
|
|
-
SuperCheppies
- Goomba

- Posts: 1
- Joined: Wed Mar 14, 2018 9:15 pm
Postby SuperCheppies » Wed Mar 14, 2018 9:21 pm
i have just downloaded SMBX today and i love it. heard about this quite a while ago finally i decided to get it and i see custom scripts that can make the game fun and i would love to have these ones i just dunno how to install them so can i have some help (youtube tutorials are not helpin)
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Wed Mar 14, 2018 9:36 pm
SuperCheppies wrote:i have just downloaded SMBX today and i love it. heard about this quite a while ago finally i decided to get it and i see custom scripts that can make the game fun and i would love to have these ones i just dunno how to install them so can i have some help (youtube tutorials are not helpin)
The OP explains it. Download the package and then create either a lunadll.lua file for use in a single level (place it in your custom graphics folder for that level) or make a lunaworld.lua file and place it in your episode folder (same directory as the .wld file) if you want to use it throughout an episode. Open the file and inside right the first line as shown in the first post to load it and then you can modify the variables listed as shown
|
|
|
|
|
|
|
|
|
-
Mr Boboo
- Spike

- Posts: 267
- Joined: Sat Jan 04, 2014 8:43 am
- Flair: The Wicked Pissah
Postby Mr Boboo » Sat Apr 07, 2018 8:29 pm
So I tried using this API again and there's a couple issues with how the wall jump handles that's pretty unreliable and I don't know how to remedy them:
• I can only walljump if I'm holding the button as I hit the wall, and I have to continue holding to do it. Even after setting forceRelease to true, if I let go of the jump key I can no longer walljump.
• When I do manage to make a jump, the horizontal distance is pathetic (I'm aiming for a NSMB-style jump); setting the jumpIntensityX variable higher doesnt seem to help.
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Sat Apr 07, 2018 8:48 pm
Mr Boboo wrote:So I tried using this API again and there's a couple issues with how the wall jump handles that's pretty unreliable and I don't know how to remedy them:
• I can only walljump if I'm holding the button as I hit the wall, and I have to continue holding to do it. Even after setting forceRelease to true, if I let go of the jump key I can no longer walljump.
• When I do manage to make a jump, the horizontal distance is pathetic (I'm aiming for a NSMB-style jump); setting the jumpIntensityX variable higher doesnt seem to help.
You should only have to hold an arrow key to hold yourself against the wall. If you let go of the jump key I've never experienced an issue. Please show your code for how you're changing that variable
|
|
|
|
|
|
|
|
|
-
Mr Boboo
- Spike

- Posts: 267
- Joined: Sat Jan 04, 2014 8:43 am
- Flair: The Wicked Pissah
Postby Mr Boboo » Sat Apr 07, 2018 9:19 pm
PixelPest wrote:Mr Boboo wrote:So I tried using this API again and there's a couple issues with how the wall jump handles that's pretty unreliable and I don't know how to remedy them:
• I can only walljump if I'm holding the button as I hit the wall, and I have to continue holding to do it. Even after setting forceRelease to true, if I let go of the jump key I can no longer walljump.
• When I do manage to make a jump, the horizontal distance is pathetic (I'm aiming for a NSMB-style jump); setting the jumpIntensityX variable higher doesnt seem to help.
You should only have to hold an arrow key to hold yourself against the wall. If you let go of the jump key I've never experienced an issue. Please show your code for how you're changing that variable
Code: Select all walljumps.slideSpeed = 3;
walljumps.jumpIntensityX = 5;
walljumps.jumpIntensityY = -9;
walljumps.delayTime = 0;
walljumps.forceRelease = true;
jumpIntensityX, delayTime, and forceRelease are the only things I changed. The problems I had were present before and after changing.
|
|
|
|
|
|
|
|
|
-
PixelPest
- Link

- Posts: 7111
- Joined: Sun Jul 12, 2015 5:38 pm
- Flair: Tamer of Boom Booms
-
Contact:
Postby PixelPest » Sat Apr 07, 2018 10:01 pm
Try moving jumpIntensityX outside of the suggested range
|
|
|
|
|
|
|
|
|
-
MrVaderSpino
- Swooper

- Posts: 66
- Joined: Tue Apr 24, 2018 9:09 am
Postby MrVaderSpino » Tue Apr 24, 2018 11:41 pm
This My Favorite Is Wallljump In Series Of New Super Mario Bros. or Super Mario Galaxy 1 and 2. Now Shall Making My Levels.
|
|
|
|
|
|
|
|
|
-
xXAndytubeXx
- Swooper

- Posts: 76
- Joined: Wed Aug 16, 2017 5:50 pm
- Flair: luigi is numero uno
Postby xXAndytubeXx » Wed Dec 26, 2018 1:41 pm
So, when I try to load a level that has the walljump script, the editor just straight up crashes. I dunno why. I get "Runtime Error 9: Subscript out of range". Maybe because I put the .lua file in the world folder instead of the level folder? Please help me fix this.
EDIT: For now, I'll just use the code provided in the pastebin. I just want to use the file for convenience.
ANOTHER EDIT (two in one day, jeez): I found out that the pastebin, err, doesn't work. Any way for me to edit the .lua file so I can copy and paste the code into the level script?
|
|
|
|
|
|
|
|
|
-
Hor0bix
- Swooper

- Posts: 66
- Joined: Sun Dec 03, 2017 7:10 pm
- Flair: bad at being creative
Postby Hor0bix » Sat Apr 13, 2019 11:30 am
How do i get the wall jump to work? I have tried putting the file from the zipped and unzipped folders and nothing happened. I tried configuring stuff, but STILL, nothing happened. Can someone help me with this?
|
|
|
|
|
|
|
|
|
-
Eri7
- Banned
- Posts: 1770
- Joined: Sat Jan 28, 2017 4:48 pm
- Flair: Good Foundation allows for strong Execution
-
Contact:
Postby Eri7 » Sat Apr 13, 2019 11:49 am
Hor0bix wrote: ↑Sat Apr 13, 2019 11:30 am
How do i get the wall jump to work? I have tried putting the file from the zipped and unzipped folders and nothing happened. I tried configuring stuff, but STILL, nothing happened. Can someone help me with this?
You have to load the API in your luna lua file.
|
|
|
|
|
|
|
|
|
-
Hor0bix
- Swooper

- Posts: 66
- Joined: Sun Dec 03, 2017 7:10 pm
- Flair: bad at being creative
Postby Hor0bix » Sat Apr 13, 2019 11:54 am
Eri7 wrote: ↑Sat Apr 13, 2019 11:49 am
Hor0bix wrote: ↑Sat Apr 13, 2019 11:30 am
How do i get the wall jump to work? I have tried putting the file from the zipped and unzipped folders and nothing happened. I tried configuring stuff, but STILL, nothing happened. Can someone help me with this?
You have to load the API in your luna lua file.
How do i do that?
|
|
|
|
|
|
|
|
|
-
Eri7
- Banned
- Posts: 1770
- Joined: Sat Jan 28, 2017 4:48 pm
- Flair: Good Foundation allows for strong Execution
-
Contact:
Postby Eri7 » Sat Apr 13, 2019 12:04 pm
Hor0bix wrote: ↑Sat Apr 13, 2019 11:54 am
Eri7 wrote: ↑Sat Apr 13, 2019 11:49 am
Hor0bix wrote: ↑Sat Apr 13, 2019 11:30 am
How do i get the wall jump to work? I have tried putting the file from the zipped and unzipped folders and nothing happened. I tried configuring stuff, but STILL, nothing happened. Can someone help me with this?
You have to load the API in your luna lua file.
How do i do that?
Well first off, you need notepad ++, then create a file with it called lunadll.lua (iirc correctly just luna.lua works in maglx3), then write this there
Code: Select all local walljumps = API.load("walljumps");
and boom, its done.
|
|
|
|
|
|
|
|
|
-
Hor0bix
- Swooper

- Posts: 66
- Joined: Sun Dec 03, 2017 7:10 pm
- Flair: bad at being creative
Postby Hor0bix » Sat Apr 13, 2019 12:21 pm
Eri7 wrote: ↑Sat Apr 13, 2019 12:04 pm
Hor0bix wrote: ↑Sat Apr 13, 2019 11:54 am
Eri7 wrote: ↑Sat Apr 13, 2019 11:49 am
You have to load the API in your luna lua file.
How do i do that?
Well first off, you need notepad ++, then create a file with it called lunadll.lua (iirc correctly just luna.lua works in maglx3), then write this there
Code: Select all local walljumps = API.load("walljumps");
and boom, its done.
All of the stuff is working except i dont know how to wall jump
|
|
|
|
|
|
|
|
|
-
Antiginger
- Goomba

- Posts: 4
- Joined: Sun Oct 12, 2014 9:45 am
Postby Antiginger » Mon Apr 22, 2019 8:58 am
Hello.
I found all links to v1.2 were either not functioning or were linking to v1.1 instead.
I wanted to make wall jumps comparable to modern Mario games and v1.1 was lacking so I edited the original code by PixelPest into a version more to my liking.
If anyone wanted a copy of my edited version here is the pastebin link below:
https://pastebin.com/GqDXksSG
I am assuming v1.2 would have similar features to my version but I couldn't find a copy to it anywhere
Cheers
|
|
|
|
|
|
|
|
|
-
chasey1237
- Shy Guy

- Posts: 9
- Joined: Sat Nov 03, 2018 4:02 pm
Postby chasey1237 » Fri Jun 12, 2020 12:57 am
can u make a script that has more super meat boy like controls where slide down but instead of holding it u just have to cling onto the wall and jump off when u press it because i felt it was uncomfortable with the controls where u have to hold down the space and i did not like that! i also had problems going down without jumping but holding the jump button after i get off the platform and it did not work! it also did not work if i jumped into it letting go of the jump button for a sec then holding it again also did not work! if u made another script but with the super meat boy controls it fixes other problems like the problems i found before and finding it difficult to wall jump from wall to other wall and back, the inability to safe yourself from a fall, the uncomfortable controls and more! please fix this! also please also keep the old script available for the people who liked it! thanks you!
|
|
|
|
|
|
|
|
|
-
Lusho
- Blooper

- Posts: 163
- Joined: Wed Dec 25, 2019 11:39 pm
- Flair: Intention is what matters
- Pronouns: he/him
Postby Lusho » Fri Jun 12, 2020 1:13 am
This is a really old thread, and this script is pretty much dead by now, I wouldn’t be surprised if something broke already, there’s anotherwalljump by Enjl though
|
|
|
|
|
Return to “LunaLua”
Users browsing this forum: S_Koopa0 and 4 guests
|