audioCutoffPrevention.lua v1.0.2 - extend level end jingles infinitely

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

KBM-Quine
2025 Egg Hunter
2025 Egg Hunter
Posts: 137
Joined: Wed Jan 15, 2014 11:10 am
Flair: Crazy with a K

audioCutoffPrevention.lua v1.0.2 - extend level end jingles infinitely

Postby KBM-Quine » Sat Aug 12, 2023 2:12 am

a piece of Delightful Adventure:Enhanced tech, now released for public use. the version number is due to internal refactors from that as such. as the title implies, you can have any length level end sound you so please. this library expects you to be using standard methods to end levels along with any standard sound replacement method. if neither of these are true, i cannot guarantee this will work properly.

i can't really show it off since it's audio, so please follow the "How to use" spoiler.
how to use: show
1. download the library and place it in your episode or level folder.
2. make a luna.lua file. this is most simply done opening notepad and saving a new file as luna.lua. this goes in your episode or level folder along side audioCutoffPrevention
3. to load the library, paste this into the new luna.lua file:

Code: Select all

local audioCutoffPrevention = require("audioCutoffPrevention")
it should now work.
changelog: show
8/12/23
first public release


Image

Thundaga_T2
Ripper II
Ripper II
Posts: 351
Joined: Wed Jun 11, 2014 6:31 am

Re: audioCutoffPrevention.lua v1.0.2 - extend level end jingles infinitely

Postby Thundaga_T2 » Tue Aug 15, 2023 8:07 pm

Does this extend to the game clear jingle?

KBM-Quine
2025 Egg Hunter
2025 Egg Hunter
Posts: 137
Joined: Wed Jan 15, 2014 11:10 am
Flair: Crazy with a K

Re: audioCutoffPrevention.lua v1.0.2 - extend level end jingles infinitely

Postby KBM-Quine » Tue Aug 15, 2023 8:34 pm

Thundaga_T2 wrote:
Tue Aug 15, 2023 8:07 pm
Does this extend to the game clear jingle?
the game end triggered by events will also work with this, yes. it's handled as a level end by smbx.

Thundaga_T2
Ripper II
Ripper II
Posts: 351
Joined: Wed Jun 11, 2014 6:31 am

Re: audioCutoffPrevention.lua v1.0.2 - extend level end jingles infinitely

Postby Thundaga_T2 » Wed Aug 16, 2023 6:51 am

KBM-Quine wrote:
Tue Aug 15, 2023 8:34 pm
Thundaga_T2 wrote:
Tue Aug 15, 2023 8:07 pm
Does this extend to the game clear jingle?
the game end triggered by events will also work with this, yes. it's handled as a level end by smbx.
Cool, I'm definitely gonna try using this. This is great.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari