54 lines
1.5 KiB
HTML
54 lines
1.5 KiB
HTML
<head>
|
|
<!-- Google tag (gtag.js) -->
|
|
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-7L02W3ZMS5"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-7L02W3ZMS5');
|
|
</script>
|
|
<link href="TemplateData/style.css" rel="stylesheet"/>
|
|
<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: #04AA6D;
|
|
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>
|
|
</body>
|
|
<!-- Slope game by y8 games, not me.-->
|