Page 4 of 4

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

Posted: Sat Jul 12, 2025 3:55 pm
by Mushroom King
Is there a way to adjust the script so that the player must jump (no contact with the ground) and press the direction they are facing the wall in order to perform a wall jump, rather than simply touching it?

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

Posted: Sun Jul 13, 2025 5:14 am
by John Nameless
Mushroom King wrote:
Sat Jul 12, 2025 3:55 pm
Is there a way to adjust the script so that the player must jump (no contact with the ground) and press the direction they are facing the wall in order to perform a wall jump, rather than simply touching it?

Code: Select all

-- put the following in your luna.lua file of your level/episode
function onInputUpdate()
    if aw and aw.isWallSliding(player) and (not player.keys.right and not player.keys.left) then
        aw.preventWallSlide(player)
    end
end