Au, paca casa. M'he quedat a mitjes fent un fade de audio sincronitzat amb el fade de video en el titol

This commit is contained in:
2024-12-23 13:56:11 +01:00
parent fb4d0d12db
commit ca2c48ea17
6 changed files with 45 additions and 25 deletions

View File

@@ -75,6 +75,7 @@ void Title::update()
// Comprueba el fundido y si se ha acabado
fade_->update();
JA_SetMusicVolume(100 - fade_->getValue());
if (fade_->hasEnded())
{
if (post_fade_ == -1)