diff --git a/package.json b/package.json index 11bb9bb..190382f 100644 --- a/package.json +++ b/package.json @@ -25,17 +25,17 @@ "env" ] }, - "sideEffects": false, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "display": "webpack-dev-server -d", - "train": "./node_modules/.bin/babel-node --max-old-space-size=16192 scripts/train | tee outputs/train_$(date +\"%Y-%m-%d_%H-%M-%S\").log" + "train": "./node_modules/.bin/babel-node --max-old-space-size=16192 scripts/train | tee outputs/train_$(date +\"%Y-%m-%d_%H-%M-%S\").log", + "build": "NODE_ENV=production webpack" }, "repository": { "type": "git", "url": "git+https://github.com/wassname/rl_2d_walker.js.git" }, - "author": "", + "author": "wassname", "license": "ISC", "bugs": { "url": "https://github.com/wassname/rl_2d_walker.js/issues" diff --git a/src/index.js b/src/index.js index 091459f..3eed86c 100644 --- a/src/index.js +++ b/src/index.js @@ -3,5 +3,4 @@ window.b2 = require('./vendor/jsbox2d') window.config = require('./js/config') window.chooseQoute = chooseQoute window.Game = Game - export {Game} diff --git a/src/js/config.js b/src/js/config.js index 02858a8..bea372a 100644 --- a/src/js/config.js +++ b/src/js/config.js @@ -1,7 +1,7 @@ let config = { time_step: 60, simulation_fps: 60, - draw_fps: 0, + draw_fps: 30, velocity_iterations: 8, position_iterations: 3, max_zoom_factor: 130,