Browse Source

Fixed turbulenz example.

closes #143
NathanSweet 12 năm trước cách đây
mục cha
commit
87af7aa4f9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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");