-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (30 loc) · 1.5 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Triage and Motion</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<canvas id="canvas" tabindex="0"></canvas>
<script type="module" src="src/main.js"></script>
<div id="menu-container">
<div id="menu" class="menu">
<h1>Triage and Motion</h1>
<button class="best" id="menu__button-start">Start</button>
<button class="good" style="display: none" id="menu__button-continue">Continue</button>
<button class="bad" style="display: none" id="menu__button-restart">Restart</button>
<button class="good" style="display: none" id="menu__button-restart-lost">Restart</button>
<label><span>Sound (<b>recommended!</b>):</span> <input type="checkbox" id="menu__sound-enabled"></label>
<label>Music Volume: <input type="range" step="any" min="0" max="1" value="0.6" id="menu__music-volume" /></label>
<label>Effects Volume: <input type="range" step="any" min="0" max="1" value="0.6" id="menu__effects-volume" /></label>
<h2>Controls</h2>
<p>Press <kbd>ESC</kbd> to open the menu.</p>
<p>Drag turrets from the bottom bar to place them; scroll or press <kbd>R</kbd> to rotate before placing.</p>
<h2>Tips</h2>
<p>After you place turrets in an arena, the only way you’re getting them back is when you clear all of its waves—pick your battles carefully!</p>
<p>Your turrets are not smart, and <em>will</em> damage each other. Plan carefully!</p>
</div>
</div>
</body>
</html>