-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: 92dcb4e012576a790f07fc24698f1663a1c5a31e:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 92dcb4e012576a790f07fc24698f1663a1c5a31e
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Jan 24 04:45:34 2016 -0800

    Store reference to player, dim lights

diff --git a/scripts/client.js b/scripts/client.js

index a6157a9668a502a195796ba01f29468a0be83699..

index ..46bd88fa83b0bcad6af7aa4a764dc9f496ab8fcf 100644

--- a/scripts/client.js
+++ b/scripts/client.js
@@ -1,4 +1,4 @@
-elation.require(['engine.engine', 'engine.things.light', 'janusweb.janusweb'], function() {
+elation.require(['engine.engine', 'engine.things.player', 'engine.things.light', 'janusweb.janusweb'], function() {
   elation.component.add('janusweb.client', function() {
     this.initEngine = function() {
       //this.enginecfg.systems.push('admin');
@@ -22,7 +22,7 @@ elation.require(['engine.engine', 'engine.things.light', 'janusweb.janusweb'], f
             type: 'light_directional',
             properties: {
               position: [-20,50,25],
-              intensity: 0.2
+              intensity: 0.1
             }
           },
           point: {
@@ -30,7 +30,7 @@ elation.require(['engine.engine', 'engine.things.light', 'janusweb.janusweb'], f
             type: 'light_point',
             properties: {
               position: [22,19,-15],
-              intensity: 0.2
+              intensity: 0.1
             }
           },
           player: {
@@ -43,6 +43,7 @@ elation.require(['engine.engine', 'engine.things.light', 'janusweb.janusweb'], f
           },
         }
       });
+      this.player = things.children.janusweb.children.player;
     }
   }, elation.engine.client);
 });

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:51:04 2024