Page 1 of 4

anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat Oct 19, 2019 7:31 am
by Emral
Download:
https://pastebin.com/UQBXiG1P

anotherwalljump.lua refurbishes an old walljump script I wrote in 2017. Its aim is to basically just replace Sturg's and PixelPest's libraries, neither of which ever had strong voices backing them, especially now that they're fairly old.

Features:
- 2-Player compatibility
- Different walljump settings per character ID (optional)
- Some customizability.

Gif:
Spoiler: show
Image
Most simple usage example:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

This enables walljumps with the default settings for the 5 default characters. Default settings can be viewed in the file.
Further customization commented in the file.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat Oct 19, 2019 11:02 am
by Taycamgame
Another one bites the dust
Anyway, I'm going to be using this in my upcoming project. Totally coincidental that you release this just before I started making any levels for it.
So if I just want to use the default settings I just leave the lua file alone?

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat Oct 19, 2019 11:05 am
by Emral
You don't have to touch anything in the lua file unless you want to modify the library beyond the options that are accessible from the outside. Anything prefixed with aw in the file is something you can access and modify from outside. The library won't do anything if it's just loaded, since characters have to be explicitly registered. Either like done in my example, or using the registerCharacter function.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sun Oct 20, 2019 7:33 am
by Cedur
This looks like the walljump mechanic in Hanzo Castle from Grand Poo World 2, nice

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Fri Nov 29, 2019 5:41 pm
by MarioLover64
I cant crouch

Added in 1 minute 10 seconds:
I bounced on a noteblock and now I cant crouch until I walljump

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat Nov 30, 2019 12:45 pm
by MarioLover64
Turns out the real problem was that sliding but not jumping took my ability to crouch

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Dec 02, 2019 12:37 am
by Emral
Fixed a bug where latching onto a wall would disable the player's ability to slide until a spinjump was performed.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Dec 02, 2019 3:04 pm
by Taycamgame
Enjl wrote:
Mon Dec 02, 2019 12:37 am
Fixed a bug where latching onto a wall would disable the player's ability to slide until a spinjump was performed.
BTW idk if you saw me mention before but there's a weird bug that happens if you climb on a climbable (such as fences or vines). You won't be able to wall jump / slide down walls after climbing on something regardless of button presses etc. It's weird because those seem to be completely unrelated?

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Dec 02, 2019 3:24 pm
by Emral
I don't see that bug report when scrolling up the thread. I'll look into it when I have time to.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Dec 02, 2019 3:33 pm
by Taycamgame
Enjl wrote:
Mon Dec 02, 2019 3:24 pm
I don't see that bug report when scrolling up the thread. I'll look into it when I have time to.
I reported it in Codehaus a while ago. Tbh I probably should have mentioned it here :/

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Dec 03, 2019 12:18 am
by Emral
Fixed a bug where Mario wouldn't be able to forget what he climbed on, shell-shocking him into being unable to touch walls.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Dec 05, 2019 5:22 am
by Reign
Looks great, will use it. Thanks.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat May 30, 2020 2:56 am
by Emral
Hello!
I have updated the code.
The new version fixes an issue where you were able to slide down lava, hurt and some invisible blocks.
As a consequence of this, you can no longer slide down spikes and munchers either by default. If your level relied on that, I built a solution for you, though:
(where aw is shorthand for anotherwalljump or whatever you load it as in your code)
Using the functions aw.whitelist(id) and aw.blacklist(id) you can make any block you wish wallslidable, or prevent any usually wallslidable block from being just that.
That way, lava, spikes, nonsolid blocks, or even sizables can become wallslidable surfaces in your levels (though initiating a wallslide on one might be very dangerous or sometimes impossible).

Enjoy!

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sat May 30, 2020 9:37 pm
by Lusho
Does this fix the tail timer problem? its kinda annoying not being able to tail swipe when using this.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Sun May 31, 2020 2:16 am
by Emral
CJ_RLushi wrote:
Sat May 30, 2020 9:37 pm
Does this fix the tail timer problem? its kinda annoying not being able to tail swipe when using this.
No, because I can only fix bugs I'm aware of, and nobody informed me of that issue before. Best way to let me know is by posting in this topic.
I will get to fixing that one momentarily.

E: Fixed.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Fri Jun 12, 2020 2:09 am
by chasey1237
the script is not doing anything :(

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Fri Jun 12, 2020 2:55 am
by Emral
chasey1237 wrote:
Fri Jun 12, 2020 2:09 am
the script is not doing anything :(
Did you follow the "most simple usage example" in the first post?

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Jun 15, 2020 3:56 am
by chasey1237
i was testing! also i only needed it for a single fucking star coin placement that i scrapped anyway cause im a fucking idiot! but legit i keep forgetting stuff!

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Jun 15, 2020 3:59 am
by Emral
I have no idea what you're talking about... oh you edited the post to remove any reference to memes.
If you need me to help explain something, it would help if you described your problem clearly so I have an idea of how to help out.

i have a problem with enji's anotherwalljump script

Posted: Thu Jul 02, 2020 10:21 am
by iAmGod01
good afternoon guys i was trying to use enji's anotherwalljump script but i have these errors
Image

Image

well I will leave here also the print of the moon file anyone if you know can help me