theme song
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user