-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·31 lines (30 loc) · 907 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
/*
* Connected Worlds
* Completed for Ludum Dare 30/48
* Author: Wesley Johnson @wesleyjohnson
*/
-->
<!doctype html>
<html>
<head>
<title>Connected Worlds | LD48</title>
<script src="js/processing.js"></script>
<script src="js/buzz.js"></script>
<script src="js/game.js"></script>
<script src="js/player.js"></script>
<script src="js/world.js"></script>
<script src="js/utils.js"></script>
<style>
html, body {background-color: #000; padding: 0; margin: 0; text-align: center;}
canvas {background-color: #555; width: 800px; height: 600px;}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
<script>
var c = document.getElementById("canvas");
var proc = new Processing(c, Game.init(c, c.getContext("2d")));
</script>
</body>
</html>