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

34
lab/index.html Executable file
View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<title>Chuck</title>
<style>
html, body {
margin: 0;
padding: 0;
display: table;
width: 100%;
height: 100%;
background: #000;
}
#canvasContainer {
text-align: center;
display: table-cell;
vertical-align: middle;
height: 100%;
}
canvas {
background: #333;
margin: 10px;
}
#canvasContainer canvas:first-child {
}
</style>
</head>
<body>
<div id="canvasContainer">
</div>
<script data-main="client" src="../node_modules/requirejs/require.js"></script>
</body>
</html>