added networking tests

This commit is contained in:
logsol 2012-06-16 22:03:03 +02:00
parent bcde1d3171
commit 620f2626a3
506 changed files with 228337 additions and 0 deletions

15
networking/index.html Normal file
View file

@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<title>Box2dWeb Demo</title>
<script src="http://localhost:8003/socket.io/socket.io.js"></script>
<script src="box2d.js"></script>
<script src="common.js"></script>
<script src="client.js"></script>
</head>
<body>
<canvas id="canvas" width="600" height="400" style="background-color:#333333;"></canvas>
<button onclick="_jump()">jump</button>
</body>
</html>