-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (42 loc) · 1.24 KB
/
index.html
File metadata and controls
43 lines (42 loc) · 1.24 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<style>
*{text-align:center;}
canvas{border:1px solid gray;}
#audioControls{ display:none;}
</style>
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Permanent+Marker::latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
<title>Random Arena</title>
</head>
<body>
<canvas height = 800 width = 1200>
Get a real browser!
</canvas>
<script src='js/utilities.js'></script>
<script src='js/loader.js'></script>
<script src='js/main.js'></script>
<script src='js/keys.js'></script>
<script src='js/sound.js'></script>
<script src='js/items.js'></script>
<script src="http://code.createjs.com/preloadjs-0.4.1.min.js"></script>
<script src='js/emitter.js'></script>
<section id="audioControls">
<audio id="bgAudio" src="media/background.wav" controls loop></audio>
<audio id="effectAudio" controls></audio>
</section>
</html>