From 6097884782309fbb0c4c7fa52d14fd8c4778dcad Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Fri, 21 Feb 2025 04:45:13 +0000 Subject: [PATCH] Update deps --- CHANGELOG.md | 15 +++++++++++++++ Cargo.toml | 8 +++----- README.md | 8 ++++---- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8336f4e..a9f61b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.0] + +### Added + +- Tag components for the different animation types, and dependencies to construct the correct component groupings +- Helper functions for grouping common animation types, replacing bundle usage + +### Changed + +- Required Bevy version is now 0.15 + +### Removed + +- Removed `SpriteAnimationBundle`, `DirectionalAnimationBundle`, `SimpleAnimationBundle`, and `ChildAnimationBundle` in favour of component dependencies + ## [0.9.2] ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 0873e26..31659ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "micro_banimate" -version = "0.9.2" +version = "0.10.0" edition = "2021" license = "Apache-2.0" description = "Easily manage complex Bevy 2D sprite animations" @@ -21,12 +21,10 @@ toml_loader = ["serde", "dep:toml"] serde = ["dep:serde", "bevy/serialize"] [dependencies] -anyhow = "^1.0" serde = { version = "^1.0", optional = true } serde_json = { version = "^1.0", optional = true } toml = { version = "0.8", optional = true } -bevy = { version = "^0.14", default-features = false, features = ["bevy_asset", "bevy_sprite"] } +bevy = { version = "^0.15", default-features = false, features = ["bevy_asset", "bevy_sprite"] } [dev-dependencies] -bevy = "0.14" -log = "0.4" +bevy = "0.15" diff --git a/README.md b/README.md index 8de1c85..88120d5 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ Easily manage complex 2D sprite animations - Add the `BanimatePluginGroup` to your app - Load one or more animation sets (see below for defining animation sets in files) -- Spawn an entity with a `SpriteSheetBundle` and attach a `SpriteAnimationBundle` component, providing a `Handle` to an - animation set +- Spawn an entity with a `Sprite` and attach a `SpriteAnimation` and an `AnimationHandle`. > Code examples have been moved to the examples folder - clone the source and see them in action! @@ -34,7 +33,7 @@ TODO: Describe directional animations ### Child Animations -Adding a `ChildAnimationBundle` to an entity will cause its status to by synced to it's `Parent` entity +Adding a `ChildAnimation` to an entity with a Sprite and an animated parent will cause its status to by synced to it's `Parent` entity ## Animation Sets @@ -99,7 +98,8 @@ frame_time = 100 | banimate version | bevy version | tilemap version | |---------------------|--------------|------------------------------------------| -| 0.9.0 | 0.14 | n/a | +| 0.10.0 | 0.15 | n/a | +| 0.9.x | 0.14 | n/a | | 0.8.0 | 0.13 | n/a | | 0.7.0 | 0.12 | n/a | | 0.6.0-rc.1 | 0.11 | 55c15bfa43c7a9e2adef6b70007e92d699377454 | -- GitLab