-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (47 loc) · 1.05 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
45
46
47
48
<!doctype html>
<html>
<head>
<title>Interference</title>
<style>
body {
background-color: black;
}
#gameCanvas {
background-color: black;
width: 640px;
height: 360px;
margin: auto;
align: center;
}
#scoreboard {
text-align: center;
font-family: Segoe UI, Helvetica, Ubuntu, sans-serif;
color: white;
}
#score {
font-size:600%;
padding:0;
margin:0;
color: white;
}
#title {
background-color: white;
color: black;
}
</style>
</head>
<body onload='setup();'>
<center>
<div id='gameCanvas'></div>
<canvas id='interfereBar'>if u can read dis yo canvas broke, yo.</canvas>
</center>
<script src='//cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js'></script>
<script src='js/keyboard.js'></script>
<script src='js/game.js'></script>
<div id='scoreboard'>
<h1 id='score'>000</h1>
<h1 id='title'>INTERFERENCE</h1>
<h3>Line up your telescopes and waveforms to resolve the asteroid.</h3>
</div>
</body>
</html>