diff --git a/Cargo.toml b/Cargo.toml index 02edb85..5ef086c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,7 @@ edition = "2021" [dependencies] anyhow = "1" bevy = { version = "0.7", default-features = false } -synthizer = "0.4" \ No newline at end of file +synthizer = "0.4" + +[dev-dependencies] +bevy = { version = "0.7", default-features = true } \ No newline at end of file diff --git a/examples/game.rs b/examples/game.rs index 66bea1e..3c2adf0 100644 --- a/examples/game.rs +++ b/examples/game.rs @@ -43,7 +43,7 @@ fn load_and_create( let buffer = asset_server.get_handle(handle); commands .spawn() - .insert(Transform::from_translation(Vec3::new(15., 0., 0.))) + .insert(Transform::from_translation(Vec3::new(45., 0., 0.))) .insert(Sound { buffer, looping: true, @@ -55,15 +55,17 @@ fn load_and_create( fn rotate_listener(time: Res