Sizeable warps?

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

Moderator: Userbase Moderators

zekene20
Goomba
Goomba
Posts: 4
Joined: Fri Nov 03, 2023 3:03 pm
Pronouns: he/him/his

Sizeable warps?

Postby zekene20 » Tue Mar 12, 2024 12:27 pm

Is there a way to make sizeable warps? It would be so much easier than making an individual warp for each block.

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 118
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

Re: Sizeable warps?

Postby John Nameless » Tue Sep 17, 2024 10:15 pm

zekene20 wrote:
Tue Mar 12, 2024 12:27 pm
Is there a way to make sizeable warps? It would be so much easier than making an individual warp for each block.

Code: Select all

-- put the following into your level's luna.lua file
function onStart()
    local w = Warp(*insert warp index number here*)
    w.entranceWidth = 64
    w.entranceHeight = 64
    w.exitWidth = 64
    w.exitHeight = 64
end


zekene20
Goomba
Goomba
Posts: 4
Joined: Fri Nov 03, 2023 3:03 pm
Pronouns: he/him/his

Re: Sizeable warps?

Postby zekene20 » Thu Oct 31, 2024 10:09 pm

Thank you so much. It worked


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari