From 271407312e07976829653f0865f2ba356e53b12d Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 12 Jan 2024 17:55:27 +0900 Subject: [PATCH] chore(drop-and-fusion): tweak sounds --- packages/frontend/src/pages/drop-and-fusion.game.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/pages/drop-and-fusion.game.vue b/packages/frontend/src/pages/drop-and-fusion.game.vue index e2aedc157..d2d5532a5 100644 --- a/packages/frontend/src/pages/drop-and-fusion.game.vue +++ b/packages/frontend/src/pages/drop-and-fusion.game.vue @@ -1088,7 +1088,7 @@ function attachGameEvents() { if (type === 'fusion') { if (props.gameMode === 'yen') { sound.playUrl('/client-assets/drop-and-fusion/fusion_yen.mp3', { - volume: 0.3 * params.volume * sfxVolume.value, + volume: 0.25 * params.volume * sfxVolume.value, pan: params.pan, playbackRate: (params.pitch / 4) * replayPlaybackRate.value, }); @@ -1104,7 +1104,7 @@ function attachGameEvents() { sound.playUrl('/client-assets/drop-and-fusion/collision_yen.mp3', { volume: params.volume * sfxVolume.value, pan: params.pan, - playbackRate: params.pitch * replayPlaybackRate.value, + playbackRate: Math.max(1, params.pitch) * replayPlaybackRate.value, }); } else { sound.playUrl('/client-assets/drop-and-fusion/collision.mp3', {