进入游戏动画

This commit is contained in:
李鹏宇
2026-09-03 18:06:24 +08:00
parent c5362c60c3
commit 17150b2c9d
3 changed files with 538 additions and 35 deletions
+9
View File
@@ -180,3 +180,12 @@ function thumbSVG(it){
`<circle cx="50" cy="50" r="46" fill="none" stroke="${tcol}" stroke-width="2.5" opacity=".9"/>`+
`</svg>`;
}
// ---------- 全局音效开关(与 world.html 设置面板共用) ----------
function loadWorldSFXSetting() {
try { return localStorage.getItem('world_sfx_enabled') !== 'false'; }
catch (e) { return true; }
}
function saveWorldSFXSetting(enabled) {
try { localStorage.setItem('world_sfx_enabled', enabled ? 'true' : 'false'); } catch (e) {}
}