forked from ivanhalencp/html5-tower
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (43 loc) · 1.37 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" language="javascript" src="tower/util/canvasManager.js"></script>
<script type="text/javascript" language="javascript" src="tower/util/jsMiniUtil.js"></script>
<script type="text/javascript" language="javascript" src="tower/modules/main.js"></script>
<script language="javascript" type="text/javascript">
var canvasManager = null;
var juego = null;
function init()
{
canvasManager = new CanvasManager("mainCanvas");
juego = new Game(canvasManager);
juego.start();
}
</script>
<style type="text/css">
body
{
color: red;
font-weight: bold;
font-family: Arial;
}
</style>
</head>
<body onload = "init()" bgcolor = "black">
<br />
<br />
<center>
TOWER
<br /><br />
<div id = "mainCanvasContainer">
<canvas id = "mainCanvas" width = '800px' height = '600px'>
<b>Canvas no soportado :(</b>
</canvas>
</div>
<br /><br />
<div id="debugWindow" style="width: 800px; height: 400px;"></div>
</center>
</body>
</html>