create a file in your level folder (the one where all the custom graphics go) called luna.lua, open it in a text editor, and paste the following inside:
note that this might not work for absolutely every possible format, but it should work for at least every format which has a "tempo" argument listed here, as well as ogg files.
if you want this to apply to every level in an episode, create the luna.lua file in your episode folder (the one where your world file is) instead
Code:
local speedUpValue = 1.1 -- change this number to set how fast the song becomesfunction onTick()if(Timer.isActive() and Timer.getValue() == 100) thenif(Audio.MusicGetSpeed() <= 1 and Audio.MusicGetSpeed() ~= -1) thenAudio.MusicSetSpeed(Audio.MusicGetSpeed() * speedUpValue)elseif(Audio.MusicGetTempo() <= 1 and Audio.MusicGetTempo() ~= -1) thenAudio.MusicSetTempo(Audio.MusicGetTempo() * speedUpValue)endendend
if you want this to apply to every level in an episode, create the luna.lua file in your episode folder (the one where your world file is) instead
Statistics: Posted by deice — Tue Feb 04, 2025 6:37 am