-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
43 lines (43 loc) · 1.44 KB
/
game.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
<!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 | ToLife_or_oblivion</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
<link rel="stylesheet" href="style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/testbuildjogo.json", {onProgress: UnityProgress});
</script>
</head>
<body style="background: #898E8C;">
<header>
<nav>
<ul class="nav">
<li><a href="index.html">HOME</a></li>
<li><a href="game.html">GAME</a></li>
</ul>
</nav>
</header>
<div class="webgl-content">
<div id="gameContainer" style="width: 960px; height: 600px"></div>
<div class="footer" style="display: none;">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
<div class="title">ToLife_or_oblivion</div>
</div>
</div>
<footer>
<nav>
<ul class="nav">
<li><a href="index.html">HOME</a></li>
<li><a href="game.html">GAME</a></li>
</ul>
</nav>
<p style="margin:0; padding:30px 0;font-size: 23px;">Copyright 2018 - F.V | G.M | R.P | P.S - Hackathon FCT</p>
</footer>
</body>
</html>