forked from nickshillingford/js13kGames-FStop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
49 lines (49 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>f-stop</title>
<link rel="stylesheet" href="css/style.css">
<script src="js/core/Global.js"></script>
</head>
<body>
<div class="title-screen" id="content">
<h1 class="title">f-stop</h1>
<label class="label">Select Viewport Size</label>
<br><br>
<div class="dropdown-container">
<select id="dropdown" class="dropdown">
<option value="small"></option>
<option value="medium"></option>
<option value="large"></option>
</select>
</div>
<label class="controls-label">Controls</label>
<br><br><br>
<div class="controls-section">
<div class="controls-grid">
<div class="grid-item">W - Move Forward</div>
<div class="grid-item">A - Move Left</div>
<div class="grid-item">S - Move Backward</div>
<div class="grid-item">D - Move Right</div>
<div class="grid-item">L - Camera Height</div>
<div class="grid-item">Escape - Disengage Camera</div>
<div class="grid-item">Left / Right Arrow - Aperture</div>
<div class="grid-item">Up / Down Arrow - Focus</div>
<div class="grid-item">Mouse Click - Engage Camera</div>
<div class="grid-item">Mouse - Look Around</div>
</div>
</div>
<button class="start-button" onclick="startGame()">start</button>
</div>
<div id="mobileWarning" style="display:none">
<h2>Screen too small</h2>
</div>
<div id="webglWarning" style="display:none">
<h2>WebGL 2 not detected and is required</h2>
</div>
<div id="cameraInfo">
<script type="module" src="js/core/Main.js"></script>
</body>
</html>