-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
61 lines (61 loc) · 1.77 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
<html>
<head>
<title>Biliardo</title>
<style type="text/css">
#game {
border:2px solid black;
position: absolute;
top: 50%;
left: 50%;
width: 800px;
height: 600px;
margin-top: -300px;
margin-left: -400px;
box-shadow: 0px 0px 10px #000;
}
body {
background-color: gray;
}
#footer {
position: absolute;
bottom: 0px;
right: 0%;
margin: 5px;
font-size: 12px;
font-family: sans-serif;
}
</style>
<!-- libraries --->
<script src="./lib/box2dweb.js"></script>
<script src="./lib/utils.js"></script>
<!-- objects --->
<script src="./src/obj/background.js"></script>
<script src="./src/obj/menu.js"></script>
<script src="./src/obj/menuButton.js"></script>
<script src="./src/obj/table.js"></script>
<script src="./src/obj/balls.js"></script>
<script src="./src/obj/cue.js"></script>
<script src="./src/obj/tunnel.js"></script>
<script src="./src/obj/logo.js"></script>
<!-- controls -->
<script src="./src/controls/shotControl.js"></script>
<script src="./src/controls/ballControl.js"></script>
<script src="./src/controls/messageControl.js"></script>
<script src="./src/controls/vsBallControl.js"></script>
<!-- views -->
<script src="./src/views/intro.js"></script>
<script src="./src/views/mainMenu.js"></script>
<script src="./src/views/practice.js"></script>
<script src="./src/views/vsMode.js"></script>
<script src="./src/views/challenge.js"></script>
<script src="./src/views/editor.js"></script>
<script src="./src/views/credits.js"></script>
</head>
<body>
<canvas id="game"></canvas>
<script src="./src/game.js"></script>
<div id="footer">
<i>developed by <a href="mailto:[email protected]">Marco Barsotti</a></i>
</div>
</body>
</html>