forked from moduli/Prototype1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·47 lines (41 loc) · 958 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Impact Game</title>
<!-- STYLE -->
<style type="text/css">
html,body {
background-color: #000;
color: #fff;
font-family: helvetica, arial, sans-serif;
margin: 0;
padding: 0;
font-size: 12pt;
}
#container {
cursor: none;
}
#canvas {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
border: 1px solid #555;
cursor: none;
}
</style>
<!-- INCLUDES -->
<script type="text/javascript" src="lib/impact/impact.js"></script>
<script type="text/javascript" src="lib/game/main.js"></script>
<!-- Note: When game is finished, do "baking" process to combine source files into one (shorter load time) -->
<!-- http://impactjs.com/documentation/baking -->
</head>
<body oncontextmenu="return false"> <!-- Disabled Right-Click Menu -->
<div id="container">
<canvas id="canvas"></canvas>
</div>
</body>
</html>