Auto-loading next level after winning • levellist.lua

Share and discuss custom LunaLua code and content packs for SMBX2.
LooKiCH
Dolphin
Dolphin
Posts: 97
Joined: Tue Jun 13, 2017 11:28 am
Pronouns: he/him
Contact:

Auto-loading next level after winning • levellist.lua

Postby LooKiCH » Sun Oct 30, 2022 11:47 am

A script that allows you to immediately load next level after winning

gifs: show

ImageImage
(Episode: Project RW by Doki)

DOWNLOAD

how to use: show
In file "luna.lua" (and "map.lua" if worldmap in episode is enabled) paste the code:

Code: Select all

require("levellist").levels = {"level1.lvlx","level2.lvlx","level3.lvlx"}
-- in {} paste the filenames of your levels in ascending order
-- BOTH MAP.LUA AND LUNA.LUA MUST HAVE THE SAME LEVEL LIST VALUE!

Wiimeiser
Snifit
Snifit
Posts: 211
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: Auto-loading next level after winning • levellist.lua

Postby Wiimeiser » Fri Nov 04, 2022 9:20 pm

I wonder if skips/Warp Zones are possible...


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests