theme song

This commit is contained in:
Back777space
2025-04-06 22:45:19 +02:00
parent d69024b984
commit 78358a830e
5 changed files with 17 additions and 3 deletions

View File

@@ -345,7 +345,7 @@ fn play_footstep_segment(
// start_time += rand.random_range(0.0..5.0);
audio.play(audio_assets.monster_footsteps.clone())
.with_volume(Volume::Amplitude(volume as f64))
.with_volume(volume as f64)
.start_from((start_time as f64).min(27.0))
.fade_in(AudioTween::linear(Duration::from_millis(100)))
.handle();