forked from cgolden15/Slope-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (42 loc) · 1.34 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
<head>
<title>Slope</title>
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="TemplateData/unityloader41.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/slope.json", { onProgress: UnityProgress, Module: { onRuntimeInitialized: function() { UnityProgress(gameInstance, "complete") } } });
</script>
<style>
.alert {
padding: 20px;
background-color: #0096FF;
color: white;
}
.closebtn {
margin-left: 15px;
color: white;
p {text-align: center;}
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.closebtn:hover {
color: black;
}
</style>
</head>
<!---
Want to run or host yourself? Check out the source?
https://github.com/cgolden15/Slope-Game/
Drop a star on the repo if you enjoy.
--->
<body style="margin: 0; overflow: hidden;">
<div class="webgl-content">
<div id="gameContainer" style="width: 100%; height: 100%; margin: 0;"></div>
</div>
<script async src="//static.getclicky.com/101393847.js"></script>
</body>
<!-- Slope game by y8 games, not me.-->