diff --git a/examples/stretchyman/stretchyman-pro.spine b/examples/stretchyman/stretchyman-pro.spine index 60aedd0f5..2cceaa8ec 100644 Binary files a/examples/stretchyman/stretchyman-pro.spine and b/examples/stretchyman/stretchyman-pro.spine differ diff --git a/spine-ts/spine-phaser/example/assets/stretchyman-pro.skel b/spine-ts/spine-phaser/example/assets/stretchyman-pro.skel index 815094d5e..f1d26fca6 100644 Binary files a/spine-ts/spine-phaser/example/assets/stretchyman-pro.skel and b/spine-ts/spine-phaser/example/assets/stretchyman-pro.skel differ diff --git a/spine-ts/spine-phaser/example/control-bones-example.html b/spine-ts/spine-phaser/example/control-bones-example.html index 8b5360d11..48823c1cd 100644 --- a/spine-ts/spine-phaser/example/control-bones-example.html +++ b/spine-ts/spine-phaser/example/control-bones-example.html @@ -21,7 +21,7 @@ create() { const stretchyman = this.add.spine(400, 580, 'stretchyman-data', "stretchyman-atlas"); - stretchyman.animationState.setEmptyAnimation(0, true); + stretchyman.animationState.setAnimation(0, "idle", true); stretchyman.updatePose(0); const controlBoneNames = ["back-arm-ik-target", "back-leg-ik-target", "front-arm-ik-target", "front-leg-ik-target"]; diff --git a/spine-ts/spine-phaser/src/SpineGameObject.ts b/spine-ts/spine-phaser/src/SpineGameObject.ts index 07940c3d7..37cd5084a 100644 --- a/spine-ts/spine-phaser/src/SpineGameObject.ts +++ b/spine-ts/spine-phaser/src/SpineGameObject.ts @@ -183,7 +183,7 @@ export class SpineGameObject extends ComputedSizeMixin(DepthMixin(FlipMixin(Scro preUpdate (time: number, delta: number) { if (!this.skeleton || !this.animationState) return; - this.updatePose(); + this.updatePose(delta); } preDestroy () {