-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
170 lines (131 loc) · 5.02 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tron</title>
<link rel="stylesheet" href="css/flexgrid.css"/>
<link rel="stylesheet" href="css/main.css"/>
<link rel="stylesheet" href="css/start-menu.css"/>
<link rel="stylesheet" href="css/hud.css"/>
<link href="fonts/nicefont.woff" />
<link href="fonts/fontawesome.woff" />
<script src="scripts/lib/three.min.js"></script>
<script src="scripts/lib/ramda.min.js"></script>
<script src='scripts/lib/FullScreen.js'></script>
<script src="scripts/lib/OrbitControls.js"></script>
<script src="scripts/lib/stats.min.js"></script>
<script src="scripts/lib/buffer-loader.js"></script>
<script src="scripts/sound.js"></script>
<script src="scripts/line-intersect.js"></script>
<script src="scripts/func.js"></script>
</head>
<body>
<div id="stats"></div>
<div id="player-labels"></div>
<!-- <input id="chatInput" type="text" maxlength="140" /> -->
<div id="welcome-msg" class="" style="visibility:visible;">
<div id="promptbox" class="main-container">
<div class="container v15">
<div class="vertical-align-wrap">
<div class="vertical-align vertical-align--bottom">
<br/>
<h4 id="press-z" class="row center margin">press Z to respawn</h4>
<h4 id="press-x" class="row center margin">press X to spawn enemies</h4>
<br/>
<h1 id="pause-msg" class="margin">Paused</h1>
</div>
</div>
</div>
<div class="container v15">
<div class="vertical-align-wrap">
<div class="vertical-align vertical-align--middle">
<div id="inputBox" class="btn row center">
<h3>IDENTIFY YOURSELF:</h3>
<input id="usernameInput" type="text" maxlength="26" />
<hr id="underline"/>
</div>
<i style="font-size: 8pt;">PRESS ENTER TO BEGIN</i>
</div>
</div>
</div>
<div class="container v40">
<div class="vertical-align-wrap">
<div class="vertical-align vertical-align--middle">
<div class="row center margin">
<h3 class="col col-span-6 right"><b>S</b> ← <b>D</b> ← <b>F</b> ← turn left </h3>
<h3 class="col col-span-6 left"> turn right → <b>J</b> → <b>K</b> → <b>L</b></h3>
</div>
<br>
<h5 class="row center margin">duplicate turn keys are bound for faster turns, pressing D+F at once performs a quick 180º</h5>
<br>
<h3 class="row center"><b>space</b> - brake </h3>
<br>
<h3 class="row center margin"><b>w</b> - fullscreen </h3>
<h3 class="row center margin"><b>c</b> - change view </h3>
<br>
<h3 class="row center"><b>p</b> - pause </h3>
</div>
</div>
</div>
<div class="container v25">
<div class="vertical-align-wrap">
<div class="vertical-align vertical-align--middle">
<a href="https://www.google.com/chrome/browser/" >
<img src="images/chrome.png" width="25"></img>
</a>
<h6 class="row center margin">best viewed in<a href="https://www.google.com/chrome/browser/"> Chrome</a></h6>
</div>
</div>
</div>
</div>
</div>
<div class="row gauges">
<div class="col spacer"></div>
<div class="row ">
<div class="gauge-width">
<div class="row nested center" id="rubber-val">0.00</div>
<span class="row nested bar" id="rubber-bar"></span>
<div class="row nested nowrap">
<div class="col col-span-3 left" id="rubber-min">0</div>
<div class="col col-span-6 center" id="rubber-label">RUBBER</div>
<div class="col col-span-3 right" id="rubber-max">5</div>
</div>
</div>
<div class="col spacer"></div>
<div class="gauge-width">
<div class="row nested center" id="speed-val">0.00</div>
<span class="row nested bar" id="speed-bar"></span>
<div class="row nested nowrap">
<div class="col col-span-3 left" id="speed-min">0</div>
<div class="col col-span-6 center" id="speed-label">SPEED</div>
<div class="col col-span-3 right" id="speed-max">5</div>
</div>
</div>
<div class="col spacer"></div>
<div class="gauge-width">
<div class="row nested center" id="brake-val">0.00</div>
<span class="row nested bar" id="brake-bar"></span>
<div class="row nested nowrap">
<div class="col col-span-3 left" id="brake-min">0</div>
<div class="col col-span-6 center" id="brake-label">BRAKES</div>
<div class="col col-span-3 right" id="brake-max">5</div>
</div>
</div>
</div>
<div class="col ping">
<div class="row nested nowrap">
users: <span id="numUsers"></span>
</div>
<div class="row nested nowrap">
ping: <span id="ping">-</span>
</div>
</div>
</div>
<script src="scripts/config.js"></script>
<script src="scripts/init.js"></script>
<script src="scripts/object-factory.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/keyboard.js"></script>
<script src="scripts/welcome.js"></script>
</body>
</html>