From 17b66cca80e8254be1d0bd3317d5977d5da38c50 Mon Sep 17 00:00:00 2001 From: jabu Date: Sat, 29 Jul 2023 23:35:07 -0500 Subject: [PATCH] 0.6.0 --- Cargo.toml | 2 +- changelog.md | 10 ++++++---- readme.md | 5 +++-- src/lib.rs | 6 +++--- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a556b3a..ac3835c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_spine" -version = "0.5.0" +version = "0.6.0" edition = "2021" description = "Spine plugin for Bevy utilizing rusty_spine" homepage = "https://github.com/jabuwu/bevy_spine" diff --git a/changelog.md b/changelog.md index dc0baf4..0320fe1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,14 +1,16 @@ # 0.6.0 -- Improved premultiplied alpha support by pre-processing premultiplied textures +- Update to Bevy 0.11 +- Improve premultiplied alpha support by pre-processing premultiplied textures - Support Spine texture runtime settings - Add `SpineSet::OnEvent` - Fix some events getting missed -- Revamped material support +- Revamp material support and settings (`SpineSettings`) - Custom material support (see `custom_material` example) - - Added support for 3D meshes and materials (see `3d` example) - - Added support for custom mesh creation (`SpineDrawer`) + - Add support for 3D meshes and materials (see `3d` example) + - Add support for custom mesh creation (`SpineDrawer`) - Spine meshes can now be drawn using the non-combined (simple) drawer - `workaround_5732` no longer necessary, Bevy issue was fixed +- Fix some events getting missed, add `SpineSet::OnEvent` # 0.5.0 - Update to Bevy 0.10 diff --git a/readme.md b/readme.md index d26088e..f98da6b 100644 --- a/readme.md +++ b/readme.md @@ -4,8 +4,8 @@ A Bevy Plugin for [Spine 4.1](http://esotericsoftware.com/), utilizing [rusty_sp ``` [dependencies] -bevy = "0.10" -bevy_spine = "0.5" +bevy = "0.11" +bevy_spine = "0.6" ``` [See online demos!](https://jabuwu.github.io/bevy_spine_demos/) ([source repo](https://github.com/jabuwu/bevy_spine_demos)) @@ -15,6 +15,7 @@ bevy_spine = "0.5" | bevy_spine | rusty_spine | bevy | spine | | ---------- | ----------- | ---- | ----- | | main | 0.6 | 0.11 | 4.1 | +| 0.6 | 0.6 | 0.11 | 4.1 | | 0.5 | 0.5 | 0.10 | 4.1 | | 0.4 | 0.5 | 0.9 | 4.1 | | 0.3 | 0.4 | 0.8 | 4.1 | diff --git a/src/lib.rs b/src/lib.rs index 05f4b83..b3b7ab5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -//! A Bevy 0.10 plugin for Spine 4.1 +//! A Bevy 0.11 plugin for Spine 4.1 //! //! Add [`SpinePlugin`] to your Bevy app and spawn a [`SpineBundle`] to get started! @@ -58,7 +58,7 @@ pub enum SpineSystem { /// Spawns helper entities associated with a [`SpineBundle`] for drawing meshes and /// (optionally) adding bone entities (see [`SpineLoader`]). Spawn, - /// An [`apply_system_buffers`] to load the spine helper entities this frame. + /// An [`apply_deferred`] to load the spine helper entities this frame. SpawnFlush, /// Sends [`SpineReadyEvent`] after [`SpineSystem::SpawnFlush`], indicating [`Spine`] components /// on newly spawned [`SpineBundle`]s can now be interacted with. @@ -221,7 +221,7 @@ pub struct SpineBone { /// /// By default, the meshes may contain several meshes all combined into one to reduce draw calls /// and improve performance. To interact with individual Spine meshes, see -/// [`SpineSettings::combined_drawer`]. +/// [`SpineSettings::drawer`]. #[derive(Component, Clone)] pub struct SpineMesh { pub spine_entity: Entity,