-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
72 lines (69 loc) · 3.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
<!DOCTYPE html>
<html>
<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 property="og:image" content="https://crystal-coves.vercel.app/assets/ores/amethyst.png">
<title>Crystal Coves</title>
<link rel="stylesheet" href="styles.css">
<link id="favicon-link" rel="icon" type="image/png" href="assets/ores/stone.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="data.js"></script>
<script src="index.js" defer></script>
</head>
<body>
<aside>
<h2 id="ore-header">Inventory</h2>
<h2 id="total-counter">Total Ores Mined: <span id="counter">0</span></h2>
<h2 id="just-found">Just Found</h2>
<p id="toggle-info">Press ] to toggle sidebar</p>
</aside>
<main>
<img id="time" src="assets/misc/none.png" width="66" height="66">
<button class="ui-button" onclick="clearMine()"><img src="assets/ui/clear.png" width="50" height="50"></button>
<button class="ui-button" id="save-btn" onclick="generateSave()"><img src="assets/ui/save.png" width="50" height="50"></button>
<a href="./bugs.html"><button class="ui-button" id="buggymanourlordandsaviorheisagodofthisworld"><img src="assets/ui/buggyman.png" width="50" height="50"></button></a>
<button class="ui-button" id="volume-btn" onclick="$('#slider-dialog')[0].showModal()"><img src="assets/ui/volume.png" width="50" height="50"></button>
<h3 id="alert" class=""></h3>
<canvas id="GAME" width="1600px" height="900px"></canvas>
<canvas id="effectOverlay" width="1600px" height="900px"></canvas>
<br>
<div id="events">
</div>
<!--If you're opening in Inspect Element: Contains spoilers-->
<div id="ores">
<span id="voidElement-counter" hidden></span> <!--DO NOT REMOVE, this is so the js has a counter to refer to-->
</div>
<div id="oreInfoContainer">
<p id="oreInfo">Click on an ore image to view information about it</p>
<p id="oreDesc"></p>
</div>
<br>
<select id="theme-select-dropdown" onchange="changeTheme()">
<optgroup label="Dark">
<option value="navy">Navy</option>
<option value="black">Classic Black</option>
<option value="amethyst">Amethyst Ore</option>
<option value="hacker">Mainframe</option>
<optgroup label="Light">
<option value="pain">DONT CHOOSE TRUST ME</option>
</select>
<dialog id="slider-dialog">
<p style="margin:0;">Music</p>
<input type="range" min="0" max="100" value="100" id="music-slider" onchange="changeVolume()">
<p style="margin:0;">SFX</p>
<input type="range" min="0" max="100" value="100" id="sfx-slider" onchange="changeVolume()">
<p style="margin:0;">Rare Spawn SFX</p>
<input type="range" min="0" max="100" value="100" id="rarespawn-sfx-slider" onchange="changeVolume()">
<form method="dialog">
<button class="button" style="font-size: 22px;">Close</button>
</form>
</dialog>
<br>
<a href="credits.html" class="noLinkFormat"><img src="assets/ui/credits.png" height="75"></a>
<br>
<button class="button" style="margin-left: 15px;"><a href="changelog.html" class="noLinkFormat">📋 Changelog</a></button>
</main>
</body>
</html>