-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
388 lines (373 loc) · 22.8 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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Retro Inspired Interactive UX Menu">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image"
content="https://user-images.githubusercontent.com/39096741/197361352-16a5e2ef-82de-427b-bcde-9029727dd24f.png">
<meta name="twitter:title" content="Interactive Retro UX">
<meta name="twitter:description" content="Retro Inspired Interactive UX Menu">
<meta property="og:type" content="website">
<meta property="og:image"
content="https://user-images.githubusercontent.com/39096741/197361352-16a5e2ef-82de-427b-bcde-9029727dd24f.png">
<title>Interactive Retro UX</title>
<link rel="stylesheet" href="assets/css/index.css">
<link rel="stylesheet" href="assets/css/palette.css">
<link rel="stylesheet" href="assets/css/sprites.css">
<script src="assets/js/library/jquery.min.js"></script>
<script src="assets/js/library/howler.min.js"></script>
<script src="assets/js/constants.js"></script>
<script src="assets/js/buttons.js" type="module" defer></script>
<!-- <script src="assets/js/soundVolHandler.mjs" type="module"></script> -->
<script src="assets/js/driver.mjs" type="module"></script>
<script defer>
var readyState = false
minload();
function minload() {
if (readyState) {
return;
} else {
setTimeout(() => {
$('.cover').css('pointer-events', 'none');
$('.minimalLoading').html('[ . ]')
setTimeout(() => {
$('.minimalLoading').html('[ . ]')
setTimeout(() => {
$('.minimalLoading').html('[ . ]')
minload()
}, 200);
}, 200);
}, 200);
}
}
$(() => {
function ready() {
setTimeout(() => {
$('.minimalLoading').html('[READY]<br>Click to start.');
$('.cover').css('pointer-events', 'auto');
}, 600);
}
readyState = true
ready()
})
</script>
</head>
<body>
<div class="wrapper">
<div class="cover">
INTERACTIVE RETRO STYLIZED UX MOCKUP (4:3) 768p BY POTTO<br>
<b>[!] build may not work properly with devices screen smaller than 720p viewport.</b>
<br>
<br>
<!-- ###################<br>
Music "Configuration", by DV-i<br>
Music "Instinct Abyss", by DV-i<br>
Music "Logo Trademark Jingle", by DV-i<br>
###################<br> -->
<br>
<br>BUILD IS STILL UNFINISHED! current
todos:
<br>-most of the sub menus
<br>-missing 2 argon atom bonds
<br>-j
<br>started on 22 Oct 2022
<br>
<br>
<br>
<br>
<div class="minimalLoading"></div>
<br>background music might play late for the first time if you have a slow network, just wait 5 or 10
seconds then it should play automatically.
</div>
<div class="fader" started="false"></div>
<div class="monoFilter"></div>
<div class="darkFilter"></div>
<div class="logoSplash" style="display: none;">
<div class="potto"></div>
<!-- <span class="logoDisc">Not affiliated with:</span>
<svg class="dvilogo" width="241.29" height="241.29" enable-background="new 0 0 241.291 276.129"
version="1.1" viewBox="0 0 241.29 241.29" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<rect x="135.3" y="110.27" width="33.96" height="31.814" fill="#578fff" />
<rect x="85.255" y="55.576" width="41.824" height="131.91" fill="#8cff83" />
<rect x="34.852" y="51.644" width="37.177" height="136.55" fill="#ff6464" />
<path
d="m6.45 7.228v228.4h228.39v-228.4zm58.974 160.36c0 3.421-1.264 6.354-3.763 8.806-2.509 2.445-5.48 3.668-8.901 3.668h-12.487v-117.81h12.487c3.415 0 6.386 1.223 8.901 3.681 2.5 2.445 3.763 5.372 3.763 8.793zm52.496-6.841c0 2.749-0.643 5.309-1.888 7.71-1.254 2.375-2.883 4.491-4.881 6.303-1.989 1.844-4.235 3.251-6.753 4.289-2.515 1.02-5.071 1.539-7.697 1.539h-3.918v-118.33h8.03v109.61c2.73-0.925 4.929-2.344 6.592-4.282 1.653-1.927 2.477-4.22 2.477-6.849v-98.486h8.046v98.493zm44.457-31.626h-16.595v-7.874h16.595zm38.629 50.947h-8.036v-68.907h-3.919v-8.039h11.955zm0-94.222h-8.036v-11.79h8.036zm-148.24-15.553h-4.447v101.74h4.447c1.242 0 2.338-0.425 3.253-1.273 0.906-0.861 1.362-1.913 1.362-3.167v-92.842c0-1.248-0.456-2.312-1.362-3.162-0.909-0.868-2.005-1.292-3.253-1.292z" />
</svg> -->
</div>
<div class="mainWindow">
<video autoplay muted loop class="bglive light" dark="false">
<source class="bglivesrc" src="./assets/sprites/grid60.webm" type="video/webm">
</video>
<div id="screenOrnaments" dark="false">
<svg id="sideOrnament" width="94.227" height="768" version="1.1" viewBox="0 0 24.931 203.2">
<g transform="matrix(1,0,0,1.0005,-97.165,8.3182)">
<path d="m97.165-8.3141h24.931c-18.087 2.9276-22.501 16.981-22.501 33.646v169.55h-2.43z" />
</g>
</svg>
<div id="iconOrnament">
<svg class="iconCircle" width="127.23" height="127.23" version="1.1" viewBox="0 0 33.663 33.663">
<g transform="translate(-63.07 -84.598)">
<path
d="m79.902 84.598c-9.2765 0-16.832 7.555-16.832 16.832 0 9.2766 7.555 16.832 16.832 16.832 9.2766 0 16.832-7.555 16.832-16.832 0-9.2765-7.555-16.832-16.832-16.832zm0 3.253c7.5185 0 13.578 6.06 13.578 13.578 0 7.5185-6.06 13.578-13.578 13.578-7.5184 0-13.578-6.06-13.578-13.578 0-7.5185 6.06-13.578 13.578-13.578z" />
</g>
</svg>
<!-- ICON VARIETIES -->
<svg class="iconMode iconSpinner" width="127.23" height="127.23" version="1.1"
viewBox="0 0 33.663 33.663">
<g transform="translate(-63.07 -84.598)">
<path
d="m86.169 90.238-4.1543 7.657-2.7e-4 1.4e-4c1.1812 0.69915 1.9495 1.9826 1.9495 3.496 0 0.0763-2e-3 0.15178-6e-3 0.22683l2.6e-4 -1.4e-4 8.7247 0.65424c0.0202-0.29129 0.0314-0.58491 0.0314-0.88093 0-4.7549-2.6527-8.9428-6.5453-11.153zm-19.067 10.593c-8e-3 0.18576-0.0131 0.37229-0.0131 0.5599 0 4.1352 2.0062 7.8414 5.0893 10.191l1.5817 1.0328c2e-3 1e-3 5e-3 3e-3 7e-3 4e-3l4.2096-7.6275 7.9e-4 -5.3e-4c-1.2875-0.67011-2.1384-2.0076-2.1384-3.6003 0-0.0756 2e-3 -0.1506 6e-3 -0.22506l-2.7e-4 1.4e-4z" />
</g>
</svg>
<svg class="iconMode iconBoombox" width="127.23" height="127.23" version="1.1"
viewBox="0 0 33.663 33.663">
<g transform="translate(-63.07 -84.598)">
<circle cx="79.902" cy="101.43" r="12.323" />
</g>
</svg>
<svg class="iconMode iconData" width="127.23" height="127.23" version="1.1"
viewBox="0 0 33.663 33.663">
<g transform="translate(-63.07 -84.598)">
<path class="iconDataStroke"
d="m79.902 92.999c4.6558 0 8.43 3.7742 8.43 8.43 0 4.6558-3.7742 8.43-8.43 8.43-4.6558 0-8.43-3.7742-8.43-8.43 0-4.6558 3.7742-8.43 8.43-8.43" />
</g>
</svg>
<div class="pageName light">SETTINGS</div>
</div>
</div>
<div id="buttonArrayInline" class="">
<div class="menuButtons initMenu">
<div button-state=false class="buttonComponent" buttonData="gameplay">
<div class="buttonText">GAMEPLAY</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="audio">
<div class="buttonText">AUDIO</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="gameData">
<div class="buttonText">GAME DATA</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="about">
<div class="buttonText">ABOUT</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" id="shutdown">
<div class="buttonText">EXIT</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
<!-- SUB MENU -->
<!-- GAMEPLAY -->
<div class="menuButtons menuGameplay buttonEnter noladder">
<div button-state=false class="buttonComponent" buttonData="subButton" buttonInherit="gameplay"
subButtonData="accessibility">
<div class="buttonText">Accessibility</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="subButton" buttonInherit="gameplay"
subButtonData="where">
<div class="buttonText">Where game?</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="apply" applyData="gameplay">
<div class="buttonText"><i>[OK]</i></div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
<!-- SUB ACCESSIBILITY -->
<div class="menuButtons submenuGameplayAccessibility buttonEnter noladder" style="display: none;">
<div button-state=false class="buttonComponent" buttonData="mono" toggle=true toggleData="mono"
mono="false">
<div class="buttonText">Monochromatic</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight highlightToggle" toggle-marker="true">ON</div>
</div>
<div button-state=false class="buttonComponent" buttonData="noflashy" toggle=true
toggleData="noflashy">
<div class="buttonText">Less Flashy</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight highlightToggle" toggle-marker="true">ON</div>
</div>
<div button-state=false class="buttonComponent" buttonData="notransition" toggle=true
toggleData="notransition">
<div class="buttonText">No Transition</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight highlightToggle" toggle-marker="true">ON</div>
</div>
<div button-state=false class="buttonComponent" buttonData="dark" toggle=true toggleData="dark">
<div class="buttonText">D A R K</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight highlightToggle" toggle-marker="true">ON</div>
</div>
<div button-state=false class="buttonComponent" buttonData="apply"
applyData="submenuGameplayAccessibility">
<div class="buttonText"><i>[OK]</i></div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
<!-- AUDIO -->
<div class="menuButtons menuAudio buttonEnter noladder">
<div class="box">
<div class="volName">BGM</div>
<div class="volume bgm-volume">
<input type="range" min="0" max="100" value="60" class="volume-range bgmVal">
<div class="bar-hoverbox">
<div class="bar">
<div class="volVal">000</div>
<div class="bar-fill"></div>
</div>
</div>
</div>
<div class="volName">SFX</div>
<div class="volume sfx-volume">
<input type="range" min="0" max="100" value="100" class="volume-range sfxVal">
<div class="bar-hoverbox">
<div class="bar">
<div class="volVal">000</div>
<div class="bar-fill"></div>
</div>
</div>
</div>
</div>
<div button-state=false class="buttonComponent" buttonData="apply" applyData="audio">
<div class="buttonText"><i>[OK]</i></div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
<!-- GAME DATA -->
<div class="menuButtons menuGameData buttonEnter midAlign noladder">
<div button-state=false class="buttonComponent gameDataMode" buttonData="subButton" buttonInherit="gameData"
subButtonData="accessibility">
<div class="dataCardPercent buttonText">
<div class="dataPercentage"></div>
<div class="progress">100</div>
<div class="dataPercentageNotation">%</div>
</div>
<div class="dataName buttonText">
<div class="dataSlot">SLOT1</div>
<div class="dataChapter">M20 - DETHRONE</div>
</div>
<svg class="menuButton " width="1159.5341" height="267" version="1.1"
viewBox="0 0 306.78901 70.644">
<path
d="M 0.5220551,0.52554628 V 70.119204 H 306.26695 V 11.615189 L 295.37868,0.52479628 Z" />
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="subButton" buttonInherit="gameData"
subButtonData="where">
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="apply" applyData="gameData">
<div class="buttonText"><i>[OK]</i></div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
<!-- ABOUT -->
<div class="menuButtons menuAbout buttonEnter">
<div button-state=false class="buttonComponent" buttonData="?">
<div class="buttonText">placeholder</div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
<div button-state=false class="buttonComponent" buttonData="apply" applyData="about">
<div class="buttonText"><i>[OK]</i></div>
<svg class="menuButton" width="455.84" height="100.27" version="1.1" viewBox="0 0 120.61 26.53">
<g transform="translate(-48.458 -55.241)">
<path d="m48.808 55.591h36.179l5.2075 2.8655h67.347l11.175 8.2343v14.73h-119.91z" />
</g>
</svg>
<div class="buttonHighlight"></div>
</div>
</div>
</div>
</div>
</div>
<a href="https://potato22.github.io/pottolink">pottolink</a>
</body>
</html>