-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·89 lines (78 loc) · 2.95 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Squash Encounter</title>
<link href="https://fonts.googleapis.com/css?family=Cherry+Cream+Soda" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Gloria+Hallelujah" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<style>
*, html, body {
margin: 0;
padding: 0;
}
html, body, #gameArea {
position: relative;
width: 100%;
height: 100%;
}
body {
background-color: #000000;
overflow: hidden;
}
canvas {
position: relative;
image-rendering: optimizeSpeed; /* Older versions of FF */
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
image-rendering: pixelated; /* Awesome future-browsers */
-ms-interpolation-mode: nearest-neighbor; /* IE */
}
#drawCanvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-99020731-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="gameArea">
<canvas id="drawCanvas">
<canvas id="gameCanvas" width="800" height="600"></canvas>
</canvas>
<p id="levelOutput"></p>
</div>
<script src="js/howler.core.min.js"></script>
<script src="js/soundsystem.js"></script>
<script src="js/graphicscommon.js"></script>
<script src="js/imageloading.js"></script>
<script src="js/particles_endgame.js"></script>
<script src="js/particlesystem.js"></script>
<script src="js/particles_two.js"></script>
<script src="js/squashball.js"></script>
<script src="js/player1.js"></script>
<script src="js/rules.js"></script>
<script src="js/Court.js"></script>
<script src="js/particles_killshot.js"></script>
<script src="js/computerplayer.js"></script>
<script src="js/menu.js"></script>
<script src="js/main.js"></script>
<script src="js/scaleCanvas.js"></script>
<script src="js/input.js"></script>
<script src="js/serve.js"></script>
<script src="js/UI.js"></script>
<script src="js/game.js"></script>
<script src="js/scorecounter.js"></script>
<script src="js/GamepadKeyboardEventEmulator.js"></script>
</body>
</html>