-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame1.html
51 lines (42 loc) · 1.62 KB
/
game1.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
<!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 | firstgame</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/firstgamehtml.json", {onProgress: UnityProgress});
</script>
</head>
<style>
p
{
width:700px;
word-wrap:break-word;
}
</style>
<center>
<a href="index.html"><font face="Ubuntu">Home |</font></a>
<!-- <p> </p> -->
<!-- <a href="resume.html"><font face="Ubuntu">Resume |</font></a> -->
<!-- <p> </p> -->
<!-- <a href="portfolio.html"><font face="Ubuntu">My Projects |</font></a> -->
<!-- <a href="games.html" style="color: black"><font face="Ubuntu">Games </font></a></li> -->
<!-- <a href="https://github.com/Pruthvi-Sanghavi/pruthvi-sanghavi.github.io"><font face="Ubuntu">Website Repository</font></a> --> -->
<p align="justify">Controls: <b>A = steer left | D = steer right. Not compatible with phone</p>
</center>
<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">Cube Runner</div>
</div>
</div>
</body>
</html>