diff --git a/spine-ts/spine-pixi/example/physics.html b/spine-ts/spine-pixi/example/physics.html index 77f6995c5..1776f7db4 100644 --- a/spine-ts/spine-pixi/example/physics.html +++ b/spine-ts/spine-pixi/example/physics.html @@ -36,8 +36,8 @@ sack.x = window.innerWidth / 2; sack.y = window.innerHeight / 2 + sack.getBounds().height / 2; - // Set animation "FOA" on track 0, looped. - sack.state.setAnimation(0, "FOA", true); + // Set animation "cape-follow-example" on track 0, looped. + sack.state.setAnimation(0, "cape-follow-example", true); // Add the display object to the stage. app.stage.addChild(sack); diff --git a/spine-ts/spine-webgl/example/physics.html b/spine-ts/spine-webgl/example/physics.html index aaa917bba..211d0bf76 100644 --- a/spine-ts/spine-webgl/example/physics.html +++ b/spine-ts/spine-webgl/example/physics.html @@ -45,10 +45,10 @@ var skeletonData = skeletonBinary.readSkeletonData(assetManager.require("assets/sack-pro.skel")); this.skeleton = new spine.Skeleton(skeletonData); - // Create an AnimationState, and set the "FOA" animation in looping mode. + // Create an AnimationState, and set the "cape-follow-example" animation in looping mode. var animationStateData = new spine.AnimationStateData(skeletonData); this.animationState = new spine.AnimationState(animationStateData); - this.animationState.setAnimation(0, "FOA", true); + this.animationState.setAnimation(0, "cape-follow-example", true); } update(canvas, delta) {