-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.89 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
<!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 | VMS326-finalproject</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/HabitatHoppers-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"><a href="https://github.com/selenaqian/habitat-hoppers-game">GitHub Repository</a> <a href="https://selenaqian.wordpress.com/projects/#habitat-hoppers">Back to Portfolio</a></div>
</div>
</div>
<!-- <div><p><a href="https://selenaqian.wordpress.com">Back to Portfolio</a></p>
<h2>Instructions</h2>
<p>This game can be played with one or two players. </p>
<p>On the map, only Square can control movement, using W, A, S, and D. W moves forward, S moves backward, and A and D rotate left and right, respectively. Circle will follow behind. </p>
<p>Once players have entered the area that moves to the next level, indicated by the red cube, both characters can then move. Square still uses W, A, and D, for jump, left, and right. Circle uses the arrow keys for movement. Both players must make their way together to the end of the level. If either player falls into the water or gets stuck off-camera to the left, they fail the level and must start over or return to the map.</p></div> --->
</body>
</html>