-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
147 lines (141 loc) · 5.79 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html>
<head>
<!--
Lunatic Fringe - http://code.google.com/p/lunatic-fringe/
Copyright (C) 2011-2012 James Carnley
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<title>Lunatic Fringe</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="main.css">
<script src="src/initializeGame.js" type="module"></script>
</head>
<body>
<div id="game-container">
<div id="scanner">
<canvas id="scannerCanvas"></canvas>
</div>
<div id="hud">
<div id="radar">
<canvas id="radarCanvas"></canvas>
</div>
<div id="info-panel">
<div style="margin-top: 15px;"></div>
<div class="info-panel-line-dots">
<span>Condition:</span>
<div>
<div id="overall-condition-0" class="grey-dot"></div>
<div id="overall-condition-1" class="grey-dot"></div>
<div id="overall-condition-2" class="grey-dot"></div>
<div id="overall-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span class="info-panel-left">Fuel Level:</span>
<div id="fuel-bar" class="info-panel-right"></div>
</div>
<div class="info-panel-line-center-text" style="text-align: center;">
<span>Damage Control:</span>
</div>
<div class="info-panel-line-dots">
<span id="engines-condition-label">Engines:</span>
<div>
<div id="engines-condition-0" class="grey-dot"></div>
<div id="engines-condition-1" class="grey-dot"></div>
<div id="engines-condition-2" class="grey-dot"></div>
<div id="engines-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span id="turn-jets-condition-label">Turn Jets:</span>
<div>
<div id="turn-jets-condition-0" class="grey-dot"></div>
<div id="turn-jets-condition-1" class="grey-dot"></div>
<div id="turn-jets-condition-2" class="grey-dot"></div>
<div id="turn-jets-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span id="guns-condition-label">Guns:</span>
<div>
<div id="guns-condition-0" class="grey-dot"></div>
<div id="guns-condition-1" class="grey-dot"></div>
<div id="guns-condition-2" class="grey-dot"></div>
<div id="guns-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span id="scanner-condition-label">Scanner:</span>
<div>
<div id="scanner-condition-0" class="grey-dot"></div>
<div id="scanner-condition-1" class="grey-dot"></div>
<div id="scanner-condition-2" class="grey-dot"></div>
<div id="scanner-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span id="radar-condition-label">Radar:</span>
<div>
<div id="radar-condition-0" class="grey-dot"></div>
<div id="radar-condition-1" class="grey-dot"></div>
<div id="radar-condition-2" class="grey-dot"></div>
<div id="radar-condition-3" class="grey-dot"></div>
</div>
</div>
<div class="info-panel-line-dots">
<span>Spare Parts:</span>
<div id="spare-parts-bar"></div>
</div>
<div class="info-panel-line-lives">
<div class="lives-image"></div>
<div id="player-lives" style="vertical-align: middle; display: inline-block;"> = 3</div>
</div>
<div class="info-panel-line">
<span class="powerup-image" id="spreadShotActive" style="visibility: hidden;">
<img src="images/SpreadShot.png" alt="Spread Shot Active" height="16" width="19">
</span>
<span class="powerup-image" id="photonLargeActive" style="visibility: hidden;">
<img src="images/PhotonLarge.png" alt="Photon Large Active" height="16" width="15">
</span>
<span class="powerup-image" id="invulnerabilityAvailable" style="visibility: hidden;">
<img src="images/Invulnerability.png" alt="Invulnerability Available" height="19" width="15">
</span>
<span class="powerup-image" id="turboThrustAvailable" style="visibility: hidden;">
<img src="images/TurboThrust.png" alt="Turbo Thrust Available" height="16" width="15">
</span>
</div>
<div class="info-panel-line-text">
<span>Score:</span>
<div class="vertically-aligned">
<span id="player-score">0</span>
<span class="double-points-powerup-image" id="doublePointsActive" style="visibility: hidden;">
<img src="images/DoublePoints.png" alt="Double Points Active" height="16" width="15">
</span>
</div>
</div>
<div class="info-panel-line-text">
<span>Level:</span>
<div>
<span>NA</span>
<!-- The below image will never be shown, but it is used to make this div have the same spacing as the Score div above -->
<span class="powerup-image" style="visibility: hidden;">
<img src="images/DoublePoints.png" height="16" width="15">
</span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>