feat(logo): so glitch.wav sincronitzat amb el scanline reveal

This commit is contained in:
JailDesigner committed 2026-05-07 14:04:48 +02:00
1 parent e32cff9dac
commit e1bd75e00d
6 files changed
+24

No files matched your search

+4
View File
@@ -170,6 +170,10 @@ Director::Director() {
// prem START (vore enterStarting i el reset del segon jugador).
const auto& player_start = UiConfig::get().playerStartSound();
Resource::Cache::get().loadSound(player_start, "data/sounds/" + player_start);
// Soroll de LogoScene (scanline reveal). El dispara LogoScene al
// ctor; amb fallback al nom de Defaults si la clau YAML no hi és.
const auto& logo_glitch = UiConfig::get().logoGlitchSound();
Resource::Cache::get().loadSound(logo_glitch, "data/sounds/" + logo_glitch);
// Catàleg de presets d'efectes per als sons. Es carrega abans d'Audio
// perquè els primers playSoundWith* (al començament del joc) ja