topical media & game development

talk show tell print

mobile-query-three-tips-tquery-minecraft-02-animateCharacter-index-cur.htm / htm



  <!doctype html><title>Minimal tQuery Page</title>
  <script src="../../../build/tquery-bundle-require.js"></script>
  <body><script>
  require(['tquery.minecraft'], function(){
          // create a 3d world, use the boilerplate and start it
          var world        = tQuery.createWorld().boilerplate().start();
          
          // load the minecraft character and add it to the world
          var character        = tQuery.createMinecraftChar().addTo(world);        
          var character3D        = character.object3D().translateY(-0.5);
          
          tQuery.createMinecraftCharAnimations(character).start('hiwave')
          
          tQuery.createMinecraftCharHeadAnimations(character).start('yes')
  });
  </script></body>


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.