-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
66 lines (66 loc) · 2.53 KB
/
demo.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
62
63
64
65
66
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Midnight Cavern - Demo</title>
<link rel="shortcut icon" href="game/TemplateData/favicon.ico">
<link rel="stylesheet" href="game/TemplateData/style.css">
<link rel="stylesheet" href="css/style.css">
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,700"
/>
<link rel="apple-touch-icon" sizes="120x120" href="assets/image/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/image/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/image/favicon-16x16.png">
<link rel="manifest" href="assets/image/site.webmanifest">
<link rel="mask-icon" href="assets/image/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<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=VT323&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css" />
<script src="game/TemplateData/UnityProgress.js"></script>
<script src="game/Build/UnityLoader.js"></script>
<script>
var unityInstance = UnityLoader.instantiate(
"unityContainer",
"game/Build/game.json",
{ onProgress: UnityProgress }
);
</script>
</head>
<body>
<navbar>
<ul class="nav-list">
<li class="nav-item">
<a href="/index.html">Midnight Cavern</a>
</li>
<li class="nav-item">
<a href="/index.html">Home</a>
</li>
<li class="nav-item">
<a href="/concept.html">Concept</a>
</li>
<li class="nav-item">
<a href="/demo.html">Live Demo</a>
</li>
<!--<li class="nav-item">
<a href="/about.html">About</a>
</li>-->
<li class="nav-item">
<a href="https://github.com/MidnightCavern/Midnight-Cavern-Unity">GitHub Repo</a>
</li>
</ul>
</navbar>
<br />
<div class="webgl-content">
<div id="unityContainer" style="width: 960px; height: 600px"></div>
<div class="glfooter">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="unityInstance.SetFullscreen(1)"></div>
<div class="title">Midnight Cavern Controls: WASD & Arrow Keys | Fullscreen Recommended</div>
</div>
</div>
</body>
</html>