-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
99 lines (84 loc) · 3.08 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
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<title>Shooter 2d</title>
<style type="text/css">
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900');
* {
padding: 0;
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
/*
cursor: url('img/crosshair.png'), default;
*/
cursor: crosshair;
}
.panels {
position: fixed;
z-index: 50;
margin: 5px;
font-size: 12px;
color: #f0f0f0;
background-color: rgba(25, 25, 25, 0.9);
}
#debug-panel-one {
left: 0;
top: 0;
}
#debug-panel-two {
right: 0;
bottom: 0;
}
#UI {
top: right;
right: 0;
font-size: 50px;
}
.UI-box {
color: #f0f0f0;
padding: 0 25px;
float: right;
}
</style>
<script type="text/javascript" src="src/Shooter.js"></script>
<script type="text/javascript" src="src/Shooter.DOM.js"></script>
<script async type="text/javascript" src="src/Shooter.Lib.js"></script>
<script async type="text/javascript" src="src/Shooter.Lib.Calculator.js"></script>
<script async type="text/javascript" src="src/Shooter.Lib.Vector2.js"></script>
<script async type="text/javascript" src="src/Shooter.Physics.js"></script>
<script async type="text/javascript" src="src/Shooter.Input.js"></script>
<script async type="text/javascript" src="src/Shooter.Camera.js"></script>
<script async type="text/javascript" src="src/Shooter.Time.js"></script>
<script async type="text/javascript" src="src/Shooter.Geometry.js"></script>
<script async type="text/javascript" src="src/Shooter.Graphics.js"></script>
<script async type="text/javascript" src="src/Shooter.Printer.js"></script>
<script async type="text/javascript" src="src/Shooter.AI.js"></script>
<script async type="text/javascript" src="src/Shooter.AI.AIPlayer.js"></script>
<script async type="text/javascript" src="src/Shooter.AI.PathFinder.js"></script>
<script async type="text/javascript" src="src/Shooter.AI.PathModeller.js"></script>
<script async type="text/javascript" src="src/Shooter.Utils.js"></script>
<script async type="text/javascript" src="src/Shooter.Data.js"></script>
<script async type="text/javascript" src="src/Shooter.Grid.js"></script>
<script async type="text/javascript" src="src/Shooter.GameObject.js"></script>
<script async type="text/javascript" src="src/Shooter.Projectile.js"></script>
<script async type="text/javascript" src="src/Shooter.Box.js"></script>
<script async type="text/javascript" src="src/Shooter.Crate.js"></script>
<script async type="text/javascript" src="src/Shooter.HealthCrate.js"></script>
<script async type="text/javascript" src="src/Shooter.Hitman.js"></script>
<script async type="text/javascript" src="src/Shooter.Enemy.js"></script>
<script async type="text/javascript" src="src/Shooter.Player.js"></script>
</head>
<body>
<div class="panels" id="debug-panel-one"></div>
<div class="panels" id="debug-panel-two"></div>
<div class="window panels" id="UI">
<div class="UI-box" id="player-health-ui"></div>
</div>
<script type="text/javascript">
window.onload = function(){
Shooter.set();
//Shooter.setup();
}
</script>
</body>
</html>