topical media & game development

talk show tell print

mobile-query-three-plugins-simplemaze-examples-index.htm / htm



  <!doctype html><title>Minimal tQuery Page</title>
  <script src="../../../build/tquery-bundle.js"></script>
  
  <script src="../tquery.simplemaze.js"></script>
  
  <body><script>
          var world        = tQuery.createWorld().boilerplate().start();
          var object	= tQuery.createTorus().addTo(world);
  
          // var controls        = new THREE.FirstPersonControls( world.tCamera() );
          // controls.movementSpeed        = 10;
          // controls.lookSpeed        = 0.06;
          // controls.lookVertical        = true;
          // controls.constrainVertical        = true;
          // controls.verticalMin        = 1.1;
          // controls.verticalMax        = 2.2;
          // world.setCameraControls(controls)
  
          var maze        = new tQuery.SimpleMaze({
                  map        : [
                          '*********',
                          '*   *   *',
                          '*  ** ***',
                          '*       *',
                          '***     *',
                          '*       *',
                          '*********'
                  ]
          }).addTo(world);
          
  
          
  </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.