From c1f362cc74817d879922c8674884d7961abf2abd Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Fri, 22 Sep 2023 05:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E9=9F=B3=E9=80=9Fhd=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E9=87=8D=E5=BC=80=E7=9A=84=E6=97=B6=E5=80=99=E4=BC=9A=E5=BE=AE?= =?UTF-8?q?=E8=B0=83=E9=9F=B3=E4=B9=90=E6=97=B6=E9=97=B4=E8=AF=95=E5=9B=BE?= =?UTF-8?q?=E5=AF=B9=E9=BD=90=E5=8A=A8=E7=94=BB=E8=8A=82=E6=8B=8D=20?= =?UTF-8?q?=E6=A1=86=E6=9E=B6=E8=B7=9F=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zenitha | 2 +- assets/game/mechanicLib/mino/hypersonic.lua | 5 +++-- assets/game/mode/mino/exterior/hypersonic_hd.lua | 1 + main.lua | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Zenitha b/Zenitha index 72299d26..7f91fe94 160000 --- a/Zenitha +++ b/Zenitha @@ -1 +1 @@ -Subproject commit 72299d268ede941967020c69b6bb30de2e48d907 +Subproject commit 7f91fe94075dc004a88f184297ae867bc604e921 diff --git a/assets/game/mechanicLib/mino/hypersonic.lua b/assets/game/mechanicLib/mino/hypersonic.lua index f14090fc..ff68af42 100644 --- a/assets/game/mechanicLib/mino/hypersonic.lua +++ b/assets/game/mechanicLib/mino/hypersonic.lua @@ -226,12 +226,13 @@ do-- hidden local showVisTime=1000 local showFadeTime=1000 + local bpm=130 local flashProbability=.1626 - local flashInterval=math.floor(4*60*1000/130/2^(-1/12)+.5) + local flashInterval=math.floor(4*60*1000/bpm/2^(-1/12)+.5) local flashVisTime1,flashVisTime2=120,460 local flashFadeTime=620 - local endAllInterval=math.floor(60*1000/130/2^(-1/12)+.5) + local endAllInterval=math.floor(60*1000/bpm/2^(-1/12)+.5) local endVisTime1,endVisTime2=620,723 local endFadeTime=1260 diff --git a/assets/game/mode/mino/exterior/hypersonic_hd.lua b/assets/game/mode/mino/exterior/hypersonic_hd.lua index 6b50aa1b..4f1f6131 100644 --- a/assets/game/mode/mino/exterior/hypersonic_hd.lua +++ b/assets/game/mode/mino/exterior/hypersonic_hd.lua @@ -5,6 +5,7 @@ return { playBgm('secret7th','base') BGM.set('secret7th/melody1','volume',0,0) BGM.set('all','pitch',2^(-1/12),0) + BGM.set('all','seek',MATH.roundUnit(BGM.tell(),60/130)) end, settings={mino={ event={ diff --git a/main.lua b/main.lua index 6189e9d5..8fe1955f 100644 --- a/main.lua +++ b/main.lua @@ -189,7 +189,7 @@ SFX.load((function() local L={} for _,v in next,love.filesystem.getDirectoryItems(path) do if FILE.isSafe(path..v) then - L[v:sub(1,-5)]=path..v:sub(1,-5)..'.ogg' + L[v:sub(1,-5)]=path..v end end return L