Skip to content

Instantly share code, notes, and snippets.

@gorgogol
Forked from incompl/gist:4163433
Last active August 29, 2015 14:04
Show Gist options
  • Save gorgogol/a84a5775a1ba9017c19f to your computer and use it in GitHub Desktop.
Save gorgogol/a84a5775a1ba9017c19f to your computer and use it in GitHub Desktop.
Bootstrap html file for Box2dWeb based game. #javascript #box2dWeb #gamedev
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Basic Object Behavior</title>
<script src='js/Box2dWeb-2.1.a.3.js'></script>
<style> canavs { background-color:black; } </style>
</head>
<body>
<canvas id='b2dCanvas' width='1024' height='500'></canvas>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment