From fb9d7c78fe041c99a86383d12ff8a96a88d83d08 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 12 Apr 2025 16:01:16 +0200 Subject: [PATCH] low global volume --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 81c92e8..32e1768 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,6 +161,8 @@ fn main() { brightness: 400., }); app.insert_resource(ClearColor(Color::BLACK)); + //TODO: let use control this + app.insert_resource(GlobalVolume::new(0.1)); app.add_systems( Startup, @@ -213,7 +215,7 @@ fn music(assets: Res, mut commands: Commands) { AudioPlayer::new(assets.music.clone()), PlaybackSettings { mode: PlaybackMode::Loop, - volume: Volume::new(0.4), + volume: Volume::new(0.6), ..default() }, ));