|
игра: звук и настройки — WAV-генератор, AudioManager, SettingsScene
- tools/audio/gen.mjs: генератор WAV из кода (моно 22050, 16-бит, без зависимостей): bell_hit, bell_low, ash_hiss, ash_die, spit, hurt, step, ui_click, chime + зацикленные амбиенты meadows/ponds (кроссфейд краёв лупа) - engine: AudioManager.preload — декодирование до первого play - Game.audio + связка settings.onChange -> setBusVolume - unlock аудио на первом жесте (main.ts), preload в BootScene - SettingsScene (Panel+MenuList): громкости master/music/sfx, вход из главного меню - музыка локаций через Game.playMusic (защита от перезапуска того же трека) - sfx: шаги героя (PlayerController.onStep), колокольчик реплик (DialogueSystem.onLineShown) Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| apps/game/assets/audio/music/meadows.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/music/ponds.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/ash_die.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/ash_hiss.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/bell_hit.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/bell_low.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/chime.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/hurt.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/spit.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/step.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/ui_click.wav 0 → 100644 |
|---|
|
Not supported
|
| apps/game/src/Game.ts |
|---|
| apps/game/src/main.ts |
|---|
| apps/game/src/scenes/BootScene.ts |
|---|
| apps/game/src/scenes/LocationScene.ts |
|---|
| apps/game/src/scenes/MenuScene.ts |
|---|
| apps/game/src/scenes/SettingsScene.ts 0 → 100644 |
|---|
| apps/game/src/systems/DialogueSystem.ts |
|---|
| apps/game/src/systems/PlayerController.ts |
|---|
| packages/engine/src/audio/AudioManager.ts |
|---|
| tools/audio/gen.mjs 0 → 100644 |
|---|