repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 7dac1c0667d6c4377418baee6074f42ff47e7726:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 7dac1c0667d6c4377418baee6074f42ff47e7726
Author: James Baicoianu 
Date:   Tue Oct 31 04:54:52 2017 -0700

    Changed default walk speed and gravity

diff --git a/scripts/room.js b/scripts/room.js
index b8225074aba1fd6af90c077d8cf580227930a218..
index ..1eb9f7d5081eb3af07c4a9ec9e158b6b27d8c623 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -33,10 +33,10 @@ elation.require([
         'pbr': { type: 'boolean', default: false },
         'bloom': { type: 'float', default: 0.4, set: this.updateBloom },
         'shadows': { type: 'bool', default: false, set: this.updateShadows },
-        'walk_speed': { type: 'float', default: 1.8 },
-        'run_speed': { type: 'float', default: 5.4 },
+        'walk_speed': { type: 'float', default: 1.0 },
+        'run_speed': { type: 'float', default: 2.0 },
         'jump_velocity': { type: 'float', default: 5.0 },
-        'gravity': { type: 'float', default: -9.8 },
+        'gravity': { type: 'float', default: 0, set: this.updateGravity },
         'locked': { type: 'bool', default: false },
         'cursor_visible': { type: 'bool', default: true },
         'use_local_asset': { type: 'string', set: this.updateLocalAsset },

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