From 67511eb7c6fd138c89376f12b68d73283e4cc3b7 Mon Sep 17 00:00:00 2001 From: Yarden Tenenboim Date: Fri, 12 Jul 2024 13:17:06 +0200 Subject: [PATCH] Bevy 0.14 --- Cargo.toml | 12 ++++++------ README.md | 3 ++- src/commands.rs | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 545b2bf..54dab84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Johan Helsing "] categories = ["game-development"] name = "bevy_trauma_shake" license = "MIT OR Apache-2.0" -version = "0.2.0" +version = "0.3.0" edition = "2021" description = "A plugin for shaking 2d cameras" keywords = ["gamedev", "bevy", "camera"] @@ -16,16 +16,16 @@ commands = [] system_param = [] [dependencies] -bevy = { version = "0.13", default-features = false } -noisy_bevy = "0.6" +bevy = { version = "0.14", default-features = false } +noisy_bevy = "0.7" [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = [ +bevy = { version = "0.14", default-features = false, features = [ "bevy_winit", "bevy_sprite", "webgl2", "x11", ] } -bevy_pancam = { version = "0.11", features = ["bevy_egui"] } +bevy_pancam = { version = "0.12", features = ["bevy_egui"] } rand = "0.8" -bevy-inspector-egui = { version = "0.23", default-features = false } +bevy-inspector-egui = { version = "0.25", default-features = false, features = ["bevy_render"] } diff --git a/README.md b/README.md index e551a4a..3a8346a 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,8 @@ The `main` branch targets the latest bevy release. |bevy|bevy_trauma_shake| |----|-----------------| -|0.13| 0.2, main | +|0.14| 0.3, main | +|0.13| 0.2 | |0.12| 0.1 | ## License diff --git a/src/commands.rs b/src/commands.rs index 51ec43f..fa8bf49 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -1,5 +1,5 @@ use crate::Shake; -use bevy::{ecs::system::Command, prelude::*}; +use bevy::{ecs::world::Command, prelude::*}; /// Extension trait for [`Command`], adding commands for easily applying trauma /// fire-and-forget-style.