-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
54 lines (49 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | unity-project</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var unityInstance = UnityLoader.instantiate("unityContainer", "Build/virtual-colony-WebGL.json", {onProgress: UnityProgress});
</script>
</head>
<body>
<div class="webgl-content">
<div id="unityContainer" style="width: 960px; height: 600px"></div>
<div class="footer">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="unityInstance.SetFullscreen(1)"></div>
<div class="title">unity-project</div>
</div>
</div>
<p>Walk around on our Mars virtual colony! Keyboard shortcuts:
<ul padding=20>
<li> Mouse: look around
<li> WASD: move horizontally
<li> Spacebar: jump / rocketpack
<li> +/-: Scale up/down (to get a look at the real Mars terrain)
</ul>
<p>Walk up to a Cybertruck door to start driving it:
<ul padding=20>
<li> Mouse: look around
<li> WS: throttle forward/backward
<li> AD: steering wheel left/right
<li> Spacebar: jump out of the truck
</ul>
<p>Walk behind a logistics robot to drive it:
<ul padding=20>
<li> Mouse: look around
<li> WS: drive forward/backward
<li> AD: spin the robot left/right
<li> FR: move the robot arm "elbow" forward (unload boxes) / reverse (load boxes)
<li> QE: move the robot arm "wrist" tilting forward and backward
<li> Spacebar: jump out of robot
</ul>
<p>Models prepared by Nexus Aurora and mostly integrated by Orion Lawlor, [email protected]. Cybertruck is a product of Tesla, who have no connection with this open-source project. Source code is available <a href="https://github.com/VirtualSpaceExplorers/VirtualColony">on GitHub</a>.
</body>
</html>