added lab for local game engine testing (create apache vhost to chuck.js directory and open chuck.local/lab - this runs the gamecode but with an extended networker (worker) which omits all networking

This commit is contained in:
logsol 2013-12-11 21:23:34 +01:00
parent b82b02d4ab
commit 966f709b09
5 changed files with 108 additions and 0 deletions

19
lab/client.js Executable file
View file

@ -0,0 +1,19 @@
requirejs.config({
baseUrl: 'app',
deps: ['Lib/Utilities/Extensions']
});
var inspector = {};
requirejs([
"Game/Config/Settings",
"Worker.js"
],
function (Settings, Worker) {
var worker = new Worker();
inspector.worker = worker;
inspector.settings = Settings;
});