-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (49 loc) · 2.29 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
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Lost Woods</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" type="text/css" href="css/custom.css">
</head>
<body>
<div class="github-button-container">
<a class="github-button" href="https://github.com/sjcobb/lost-woods" data-icon="octicon-star" aria-label="Star sjcobb/lost-woods on GitHub">Star</a>
<a class="github-button" href="https://github.com/sjcobb" aria-label="Follow @sjcobb on GitHub">Follow</a>
</div>
<div id="movement-controls">
<div class="btn-container">
<div id="m-forward" class="btn"></div>
<div id="m-left" class="btn"></div>
<div id="m-right" class="btn"></div>
<div id="m-back" class="btn"></div>
</div>
</div>
</body>
<script>
WebVRConfig = {
BUFFER_SCALE: 0.5, // default: 1.0
};
</script>
<script src="js/lib/es6-promise.min.js"></script>
<script src="js/lib/three.min.js"></script>
<!-- <script src="js/lib/FirstPersonControls.js"></script> -->
<script src="js/inventory.js"></script>
<script src="js/portal.js"></script>
<script src="js/vr-controls.js"></script>
<script src="js/lib/DDSLoader.js"></script>
<script src="js/lib/MTLLoader.js"></script>
<script src="js/lib/OBJLoader.js"></script>
<script src="js/lib/VRControls.js"></script> <!-- VRControls.js acquires positional information from connected VR devices and applies the transformations to a three.js camera object. -->
<script src="js/lib/VREffect.js"></script><!-- VREffect.js handles stereo camera setup and rendering. -->
<script src="js/lib/webvr-polyfill.js"></script> <!-- A polyfill for WebVR using the Device{Motion,Orientation}Event API. -->
<script src="build/webvr-manager.js"></script> <!-- Helps enter and exit VR mode, provides best practices while in VR. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="js/song.js"></script>
<script src="js/woods.js"></script>
<script src="js/scene.js"></script>
<script src="js/navi.js"></script>
</html>