-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (36 loc) · 1.69 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
<!DOCTYPE html>
<html>
<head>
<title>Mansion of terror</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<script type="text/javascript" src="./lib/gl-matrix-min.js"></script>
<script type="text/javascript" src="./lib/dat.gui.min.js"></script>
<script type="module" src="./code/game.js"></script>
</head>
<body>
<div id="endingScene" class="endingScene">
<h1 id="endingText" class="endingScene">Congratulations! You have escaped.</h1>
<p class="endingScene">Press space to exit.</p>
</div>
<div id="overlay" class="overlay">
<h2 id="interact_prompt" class="hide prompt">Press [F] to interact</h2>
<h2 id="carry_prompt" class="hide prompt">Press [F] to pick up</h2>
</div>
<div class="main-menu" id="main-menu">
<button id="play-button" class="main-menu-contents">Play</button>
<button id="options-button" class="main-menu-contents">Options</button>
<button id="quit-button" class="main-menu-contents">Quit</button>
</div>
<div class="options-menu" id="options-menu">
<label class="input-label">Sensitivity</label>
<input type="range" id="options-sensitivity" name="options-sensitivity" class="options-contents" min="10" max="500" value="100">
<label class="input-label" class="options-amount">Volume</label>
<input type="range" id="options-volume" name="options-volume" class="options-contents" min="0" max="100" value="20">
<button class="options-contents" id="options-back">Back</button>
</div>
<div class="fullscreen" id="fullscreen">
<canvas id="main-canvas"></canvas>
</div>
<div class="audio" id="audio-div"></div>
</body>
</html>