添加音频文件
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ async function main() {
|
||||
|
||||
// 预加载关键短音效
|
||||
await Promise.allSettled([
|
||||
Snd.preload('sfx_keyboard', `${SFX}/sfx_keyboard_slow_v1.wav`),
|
||||
Snd.preload('sfx_chime', `${SFX}/sfx_ending_chime_v1.wav`),
|
||||
Snd.preload('sfx_keyboard', `${SFX}/sfx_keyboard_slow_v1.mp3`),
|
||||
Snd.preload('sfx_chime', `${SFX}/sfx_ending_chime_v1.mp3`),
|
||||
]);
|
||||
|
||||
// 请求屏幕常亮(Android Chrome 支持)
|
||||
|
||||
Reference in New Issue
Block a user