mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
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:
parent
b82b02d4ab
commit
966f709b09
5 changed files with 108 additions and 0 deletions
19
lab/client.js
Executable file
19
lab/client.js
Executable 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;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue