chuck.js/joint/index.html
2012-07-18 18:06:35 +02:00

19 lines
521 B
HTML

<!doctype html>
<html>
<head>
<title>How to Join</title>
<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>
<br/>
<button onclick="jump(dude)">move dude</button> <br/>
<button onclick="jump(item)">move item</button><br/>
<button onclick="drop()">drop item</button><br/>
<button onclick="throwItem()">throw</button><br/>
</body>
</html>