Explorar o código

Fixed turbulenz example.

closes #143
NathanSweet %!s(int64=12) %!d(string=hai) anos
pai
achega
87af7aa4f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      spine-js/turbulenz/index.html

+ 1 - 1
spine-js/turbulenz/index.html

@@ -94,7 +94,7 @@ function start () {
 	} else {
 		skeleton.setSkinByName("goblingirl");
 		skeleton.setSlotsToSetupPose();
-		state.setAnimationByName("walk", true);
+		state.setAnimationByName(0, "walk", true);
 
 		canvas.onmousedown = function () {
 			skeleton.setSkinByName(skeleton.skin.name == "goblin" ? "goblingirl" : "goblin");