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