Explorar o código

Update example to show atlas is passed.

NathanSweet %!s(int64=11) %!d(string=hai) anos
pai
achega
53a5f1afe3
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

@@ -37,7 +37,7 @@ var atlas;
 function loadAtlas (atlasText) {
 function loadAtlas (atlasText) {
 	var textureCount = 0;
 	var textureCount = 0;
 	atlas = new spine.Atlas(atlasText, {
 	atlas = new spine.Atlas(atlasText, {
-		load: function (page, path) {
+		load: function (page, path, atlas) {
 			textureCount++;
 			textureCount++;
 			graphicsDevice.createTexture({
 			graphicsDevice.createTexture({
 				src: "../data/" + path,
 				src: "../data/" + path,