Improve level-up animation and unit audio assets

This commit is contained in:
2026-06-24 15:23:26 +09:00
parent 44c017ab6c
commit 384ce7725c
8 changed files with 308 additions and 54 deletions

View File

@@ -99,6 +99,10 @@ class SoundDirector {
}
playLevelUp() {
if (this.playEffect('level-up', { volume: 0.36, stopAfterMs: 1200 })) {
return;
}
this.playEffect('exp-gain', { volume: 0.42, rate: 1.08, stopAfterMs: 820 });
this.playTone(520, 0.08, 0.035, 'triangle');
window.setTimeout(() => this.playTone(720, 0.09, 0.04, 'triangle'), 82);