Skip to content

Commit

Permalink
音频数量多起来了,丢到单独的文件夹里
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Oct 7, 2024
1 parent 2501d89 commit 2746c6b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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')
Expand Down

0 comments on commit 2746c6b

Please sign in to comment.