From 2746c6bec1ed75660e359d143a27cd0b37ce548b Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Tue, 8 Oct 2024 05:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E9=A2=91=E6=95=B0=E9=87=8F=E5=A4=9A?= =?UTF-8?q?=E8=B5=B7=E6=9D=A5=E4=BA=86=EF=BC=8C=E4=B8=A2=E5=88=B0=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E7=9A=84=E6=96=87=E4=BB=B6=E5=A4=B9=E9=87=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- copy.ogg => audio/copy.ogg | Bin error.ogg => audio/error.ogg | Bin naive.ogg => audio/naive.ogg | Bin paste.ogg => audio/paste.ogg | Bin solve.ogg => audio/solve.ogg | Bin tick.ogg => audio/tick.ogg | Bin untick.ogg => audio/untick.ogg | Bin main.lua | 14 +++++++------- 8 files changed, 7 insertions(+), 7 deletions(-) rename copy.ogg => audio/copy.ogg (100%) rename error.ogg => audio/error.ogg (100%) rename naive.ogg => audio/naive.ogg (100%) rename paste.ogg => audio/paste.ogg (100%) rename solve.ogg => audio/solve.ogg (100%) rename tick.ogg => audio/tick.ogg (100%) rename untick.ogg => audio/untick.ogg (100%) diff --git a/copy.ogg b/audio/copy.ogg similarity index 100% rename from copy.ogg rename to audio/copy.ogg diff --git a/error.ogg b/audio/error.ogg similarity index 100% rename from error.ogg rename to audio/error.ogg diff --git a/naive.ogg b/audio/naive.ogg similarity index 100% rename from naive.ogg rename to audio/naive.ogg diff --git a/paste.ogg b/audio/paste.ogg similarity index 100% rename from paste.ogg rename to audio/paste.ogg diff --git a/solve.ogg b/audio/solve.ogg similarity index 100% rename from solve.ogg rename to audio/solve.ogg diff --git a/tick.ogg b/audio/tick.ogg similarity index 100% rename from tick.ogg rename to audio/tick.ogg diff --git a/untick.ogg b/audio/untick.ogg similarity index 100% rename from untick.ogg rename to audio/untick.ogg diff --git a/main.lua b/main.lua index 03f054b..9dd197e 100644 --- a/main.lua +++ b/main.lua @@ -35,7 +35,7 @@ local suc, res = pcall(FILE.load, 'data.json', '-json') if suc then TABLE.update(DATA, res) end SFX.setVol(DATA.sound and 1 or 0) -BGM.load('naive', 'naive.ogg') +BGM.load('naive', 'audio/naive.ogg') TASK.new(function() TASK.yieldT(.626) if DATA.sound then @@ -44,12 +44,12 @@ TASK.new(function() end) SFX.load({ - tick = 'tick.ogg', - untick = 'untick.ogg', - solve = 'solve.ogg', - copy = 'copy.ogg', - paste = 'paste.ogg', - error = 'error.ogg', + tick = 'audio/tick.ogg', + untick = 'audio/untick.ogg', + solve = 'audio/solve.ogg', + copy = 'audio/copy.ogg', + paste = 'audio/paste.ogg', + error = 'audio/error.ogg', }) FONT.load('unifont', 'unifont.otf')