-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
298 lines (271 loc) · 10.1 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE html>
<head>
<title>Infinity Drive</title>
<!-- ****** faviconit.com favicons ****** -->
<link rel="shortcut icon" href="favicon/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="196x196" href="favicon/favicon-192.png">
<link rel="icon" type="image/png" sizes="160x160" href="favicon/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16.png">
<link rel="apple-touch-icon" href="favicon/favicon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicon/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicon/favicon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicon/favicon-144.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicon/favicon-60.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicon/favicon-120.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicon/favicon-76.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicon/favicon-152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/favicon-180.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="favicon/favicon-144.png">
<meta name="msapplication-config" content="/browserconfig.xml">
<!-- ****** faviconit.com favicons ****** -->
</head>
<html>
<style>
input{
font-family: Arial;
vertical-align:middle;
font-size: 2vmin;
}
button{
font-family: Arial;
vertical-align:middle;
font-size: 1.7vmin;
}
font{
font-family: Arial;
}
body {
padding-bottom: 250px;
}
select, input, button {
border-width: 0px;
}
font.head{
text-align: center;
color: #DDD;
font-size: 120%;
}
div.plan{
margin-right: 50px;
position: relative;
top: 50%;
text-align: right;
}
button.upgrade{
display:inline-block;
vertical-align:top;
height:6vh;
width:25%;
margin-top:10px;
border: thin #000000 solid;
-moz-box-sizing: border-box;
box-sizing: border-box;
white-space: pre-wrap;
}
button.buy:hover{
border: thin #FFFFFF solid;
}
button.buy{
display:inline-block;
height:65%;
width: 100%;
border: thin #000000 solid;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input.rate{
resize: none;
display:inline-block;
text-align: center;
height:40%;
width:50%;
white-space: pre-wrap;
margin: 0;
border: thin #000000 solid;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color: #AAA;
font-family: Arial;
padding: 0px;
}
input.amounts{
resize: none;
display:inline-block;
text-align: center;
height:40%;
width:50%;
white-space: pre-wrap;
margin: 0;
border: thin #000000 solid;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color: #DDD;
font-family: Arial;
padding: 0px;
}
div.combinebutt{
display:none;
vertical-align:top;
height:10vh;
width:25%;
margin-top:10px;
white-space: pre-wrap;
border: thin #000000 solid;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
</style>
<body>
<!-- Game window tabs -->
<body bgcolor="#222222">
<ul class="simple-tabs" id="window-tabs">
<font style="font-size:3vmin; vertical-align:middle; line-height:3vmin">
<li id = "gametab" class="game active">Game</li>
<li id = "sciencetab" class="sciencepage">Science</li>
<li id = "zonetab" class="zone">Zone Map</li>
<li id = "galaxytab" class="galaxy">Galaxy Map</li>
<li id = "settingstab" class="settings">Settings</li>
</font>
</ul>
<div class="clear-float"></div>
<div id="game" class="toptab-page active-page">
<canvas id="gamecanvas" width="1000" height="450" style="background-color: #000"></canvas>
</div>
<div id="sciencepage" class="toptab-page" style="background-color: black;">
<div style="margin-top:0px; height:100px;margin-left:50px;">
<br>
<font id = "scienceamount" color= #0aa style="font-size:2vmin">Science: 0</font>
<br><br>
<font color= #0aa style="font-size:2vmin">Doesn't do anything yet...</font>
</div>
</div>
<div id="zone" class="toptab-page">
<canvas id="zonecanvas" width="1000" height="450" style="background-color: #000"></canvas>
</div>
<div id="galaxy" class="toptab-page">
<canvas id="galaxycanvas" width="1000" height="450" style="background-color: #000"></canvas>
</div>
<div id="settings" class="toptab-page" style="background-color: black;">
<div style= " height:100%; width: 100%; margin-left:2vh; margin-top:2vh">
<font color= #DDD style="font-size:3vmin"><h>Settings</h></font>
<br><br>
<input style = "height:6vh;" id = "toggleprojectiles" type ="button" value = "Display projectiles" onclick = "toggleProjectiles()"/>
<input style = "height:6vh;" id = "deletesave" type ="button" value = "Delete save file" onclick = "deleteSave()"/>
<input style = "height:6vh;" id = "togglenotes" type = "button" value = "Notifications: Big" onclick = "toggleNotes()"/>
<input style = "height:6vh; display:none;" id = "resetdrones" type ="button" title = "If your drones are out of alignment and you have OCD this is the button for you!" value = "Refresh drones" onclick = "resetDrones()"/>
<div id="Changelog" style="overflow-y: scroll; margin-top:2%; height:70%; width:90%">
<div style="position:relative;top:0%;text-align:left">
<font color= #DDD style="font-size:2vmin">
<br>
To buy the maximum amount of units you can afford hold control.<br><br>
<font color= #DDD style="font-size:150%"><h>Upcoming</h></font><br><br>
Many more unlocks and units.<br>
Zone changes.<br>
Galaxy Map.<br>
Tower Defense elements.<br>
More graphics such as:<br>
   Planets, better maps, mining lasers, hyperdrive<br>
<br>
View on <a href="https://github.com/dpekkle/infinitydrive">Github.</a><br><br><br>
</font>
<font color= "#DDD" style="font-size:150%;"><h>Updates</h></font><br><br>
<font color= "#DDD" style="font-size:80%">
<!--Updates-->
28/02/16 - Version 0.2.6<br>
- Zone map<br>
- Progression longer<br>
- UI tweaks<br>
- Endgame crash fix<br>
<br>
<br>27/02/16 - Version 0.2.5<br><br>
- Resource UI overhaul.
- Rescale elements on window resize<br>
<br>
26/02/16 - Version 0.2.4<br>
- UI Overhaul based on friday thread suggestions<br>
<br>
25/02/16 - Version: 0.2.3<br>
- Notifications fade, except science scans.<br>
- Science scans have a nice planet icon.<br>
- Nicer tab colours.<br>
- Smooth movement after scans.<br>
<br>
25/02/16 - Version: 0.2.2<br>
- Multi-buy key modifier (ctrl). Only implemented for units at the moment, not upgrades.
<br>
</font>
</div>
</div>
</div>
</div>
<ul class="simple-tabs" id="window-tabs2">
<font style="font-size:2.5vmin; vertical-align:middle; line-height:2.5vmin">
<li id = "buytab" class="buypage active" style="width:33.33%">Buy</li>
<li id = "uptab" class="upgradepage" style="width:33.33%">Upgrade</li>
<li id = "untab" class="unlockpage" style="width:33.33%">Unlocks</li>
</font>
</ul>
<div id="buypage" class = "bottab-page active-page" style="border: none;"
><div id = "list1"
><div id = "goldcomb" class = "combinebutt"
><button id = "goldbutton" onclick="fireGuns()" class="buy" >Click</button
><input type = "text" id = "goldrate" class="rate"></input
><input type = "text" id = "gold" class="amounts"></input
></div
><div id = "minercomb" class = "combinebutt"
><button id = "minerbutton" onclick="buyunit('miner')" class="buy" >Crew</button
><input type = "text" id = "minersrate" class="rate"></input
><input type = "text" id = "miners" class="amounts"></input
></div
><div id = "foremancomb" class = "combinebutt"
><button id = "foremanbutton" onclick="buyunit('foreman')" class="buy" >Asteroids</button
><input type = "text" id = "foremansrate" class="rate"></input
><input type = "text" id = "foremans" class="amounts"></input
></div
><div id = "shipcomb" class = "combinebutt"
><button id = "shipbutton" onclick="buyunit('ship')" class="buy" >Ships</button
><input type = "text" id = "shipsrate" class="rate"></input
><input type = "text" id = "ships" class="amounts"></input
></div
></div
></div>
<div id="upgradepage" class = "bottab-page" style="border: none;">
<div id = "list2">
<button id = "goldupgradebutton" onclick = "upgrade('gold')" class="upgrade" >Fuel
<button id = "minerupgradebutton" onclick = "upgrade('miner')" class="upgrade" >Crew
<button id = "foremanupgradebutton" onclick = "upgrade('foreman')" class="upgrade" >Asteroids
<button id = "shipupgradebutton" onclick = "upgrade('ship')" class="upgrade" >Ships
</div>
</div>
<div id="unlockpage" class = "bottab-page" style="border: none;">
<div id = "list3">
</div>
</div>
<br><br>
<!-- Audio -->
<audio id= "music"></audio>
<!-- Google Analytics -->
<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','http://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-74080319-1', 'auto');
ga('send', 'pageview');
</script>
<script src="lib/simple-tabs-pure-js.js"></script>
<link rel="stylesheet" type="text/css" href="lib/simpletabs.css">
<script defer src="lib/ocanvas-2.8.3.js"></script>
<script defer src="lib/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="lib/sweetalert.css">
<script defer src="lib/title_notifier.js"></script>
<script defer src="lib/Notifier.js"></script>
<script defer src="notifications.js"></script>
<script defer src="scripts.js"></script>
</body>
</html>