-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (51 loc) · 1.89 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pixelify+Sans:[email protected]&display=swap" rel="stylesheet">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<h1>
<%= htmlWebpackPlugin.options.title %>
</h1>
<main id="main">
<section id="game">
<div id="game-wrapper">
<canvas id="canvas"></canvas>
</div>
<footer id="game-actions">
</footer>
</section>
<section id="editor">
<section id="editor-wrapper">
</section>
<section id="debugger" class="debugger">
<form id="debug-form">
<fieldset class="debugger__fieldset">
<label for="thrust">Thrust</label>
<input id="thrust" type="range" name="thrust" min="0" max="100" value="0" data-units="%">
<output name="thrust-value"></output>
</fieldset>
<fieldset class="debugger__fieldset">
<label for="rotation">Rotation</label>
<input id="rotation" type="range" name="rotation" min="-360" max="360" value="0" data-units="deg">
<output name="rotation-value"></output>
</fieldset>
<fieldset class="debugger__fieldset">
<label for="sprite-decay">Sprite decay</label>
<input id="sprite-decay" type="range" name="sprite-decay" min="5" max="5000" value="500" data-units="ms">
<output name="sprite-decay-value"></output>
</fieldset>
</form>
</section>
<footer id="editor-actions">
<button id="debug">Debug</button>
<button id="run">Run</button>
</footer>
</section>
</main>
</body>
</html>