Browse Source

add sprite sheet author

sunag 8 years ago
parent
commit
d564ca693b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/webgl_sprites_nodes.html

+ 2 - 1
examples/webgl_sprites_nodes.html

@@ -137,7 +137,8 @@
 			// use scale to adjuste the real sprite size
 			// use scale to adjuste the real sprite size
 			plane = new THREE.PlaneBufferGeometry( 1, 1 );
 			plane = new THREE.PlaneBufferGeometry( 1, 1 );
 
 
-			var walkingManTexture = new THREE.TextureLoader().load( "textures/WalkingManSpriteSheet.png" );
+			// https://openclipart.org/detail/239883/walking-man-sprite-sheet
+			var walkingManTexture = new THREE.TextureLoader().load( "./textures/WalkingManSpriteSheet.png" );
 			walkingManTexture.wrapS = walkingManTexture.wrapT = THREE.RepeatWrapping;
 			walkingManTexture.wrapS = walkingManTexture.wrapT = THREE.RepeatWrapping;
 
 
 			// horizontal sprite-sheet animator
 			// horizontal sprite-sheet animator