Change player jump height

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

jokyaku
Goomba
Goomba
Posts: 4
Joined: Thu Jan 20, 2022 7:44 am
Pronouns: he/him

Change player jump height

Postby jokyaku » Thu Aug 10, 2023 12:01 pm

This is turning out to be a little harder than I thought it would be. I know about Defines.jumpheight but this changes the jump height for every player which would be undesirable. What I'm trying to do now is adding a multiplier to the speedY of the player when he jumps that way the jumps are sligthly higher but I would be glad to know if there's a better way of doing it.

Edit: I decided to lock the player speedY to -6 for longer while he's jumping and that seems to work pretty well. Help no longer needed.

Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari