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
34
lab/index.html
Executable file
34
lab/index.html
Executable 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue