Update Spine support to 4.2
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
[0.1.5]
|
||||
- [BREAK CHANGE] Update Spine runtime support to `4.2.0`
|
||||
- Add Items Tree search filter
|
||||
|
||||
[0.1.4]
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -1,10 +1,10 @@
|
||||
gdxVersion = 1.12.1
|
||||
lwjgl3Version = 3.3.3
|
||||
artemisVersion = 2.3.0
|
||||
spineVersion = 4.1.0
|
||||
spineVersion = 4.2.0
|
||||
visuiVersion = 1.5.3
|
||||
typingLabelVersion = 1.3.0
|
||||
shapedrawerVersion = 2.5.0
|
||||
talosVersion = 1.5.0
|
||||
talosVersion = 1.5.1-SNAPSHOT
|
||||
gdxTinyVGVersion=7a8927633e
|
||||
pureMvcVersion=1.0.3-SNAPSHOT
|
||||
+1
-1
Submodule h2d-libgdx-bvb-extension updated: c4ba68090c...a11620ef8f
Submodule h2d-libgdx-spine-extension updated: 6868a469f0...6d595db323
Submodule h2d-libgdx-talos-extension updated: 40256a900e...64edfb5010
+2
-2
@@ -56,7 +56,7 @@ public class SpineDrawable extends BaseDrawable {
|
||||
}
|
||||
|
||||
private void computeBoundBox() {
|
||||
skeleton.updateWorldTransform();
|
||||
skeleton.updateWorldTransform(Skeleton.Physics.update);
|
||||
|
||||
Array<Slot> drawOrder = skeleton.getDrawOrder();
|
||||
minX = Float.MAX_VALUE;
|
||||
@@ -95,7 +95,7 @@ public class SpineDrawable extends BaseDrawable {
|
||||
|
||||
@Override
|
||||
public void draw(Batch batch, float x, float y, float width, float height) {
|
||||
skeleton.updateWorldTransform();
|
||||
skeleton.updateWorldTransform(Skeleton.Physics.update);
|
||||
animationState.update(Gdx.graphics.getDeltaTime());
|
||||
animationState.apply(skeleton);
|
||||
skeleton.setPosition(x, y - 20);
|
||||
|
||||
@@ -39,7 +39,7 @@ public class SpineActor extends Actor {
|
||||
|
||||
private void computeBoundBox() {
|
||||
skeleton.setPosition(0, 0);
|
||||
skeleton.updateWorldTransform();
|
||||
skeleton.updateWorldTransform(Skeleton.Physics.update);
|
||||
|
||||
Array<Slot> drawOrder = skeleton.getDrawOrder();
|
||||
minX = Float.MAX_VALUE;
|
||||
@@ -130,7 +130,7 @@ public class SpineActor extends Actor {
|
||||
|
||||
@Override
|
||||
public void act(float delta) {
|
||||
skeleton.updateWorldTransform(); //
|
||||
skeleton.updateWorldTransform(Skeleton.Physics.update); //
|
||||
state.update(delta);
|
||||
state.apply(skeleton);
|
||||
super.act(delta);
|
||||
|
||||
Reference in New Issue
Block a user