-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
61 lines (49 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Island prototype</title>
<style>
#blocker {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(138, 148, 182, 0.5);
}
#instructions {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
font-size: 14px;
cursor: pointer;
}
</style>
<script src = "https://code.jquery.com/jquery-3.1.1.min.js"></script>
</head>
<body>
<img scr='node_modules/images/waternormals.jpg' id="img-material" style="display:none;">
<img scr='node_modules/images/lensflare0.jpg' id="img-material-1" style="display:none;">
<img scr='node_modules/images/lensflare1.jpg' id="img-material-2" style="display:none;">
<div id="blocker">
<div id="instructions">
<p style="font-size:48px">
Click to play
</p>
<p>
Move: WASD<br/>
Look: MOUSE
</p>
</div>
</div>
<script id="mainfile" type="module" src="main.js">
</script>
<script>
</script>
</body>
</html>