low global volume

This commit is contained in:
2025-04-12 16:01:16 +02:00
parent c79c64dadd
commit fb9d7c78fe

View File

@@ -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<AudioAssets>, mut commands: Commands) {
AudioPlayer::new(assets.music.clone()),
PlaybackSettings {
mode: PlaybackMode::Loop,
volume: Volume::new(0.4),
volume: Volume::new(0.6),
..default()
},
));