AntimatterDimensionsSourceCode/public/index.html
ZackRhodes f2604361be Install Node/Steam Functionality
Messy carried over code (to be cleaned up once functionality finalized)
2022-03-31 18:10:44 -04:00

89 lines
3.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Antimatter Dimensions</title>
<link rel="icon" type="image/png" href="icon.png">
<meta name="Antimatter Dimensions" content="A game about huge numbers and watching them go up." >
<script type="text/javascript" src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
<link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="stylesheets/fontawesome/css/all.css">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/codemirror.css">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/show-hint.css">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/lint.css">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/panda-syntax.css">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/liquibyte.css">
<link rel="stylesheet" type="text/css" href="stylesheets/vue-sfc-classes.css">
<link rel="stylesheet" type="text/css" href="stylesheets/ad-slider-component.css">
<link rel="stylesheet" type="text/css" href="stylesheets/glyphs.css">
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css?3">
<link rel="stylesheet" type="text/css" href="stylesheets/automator.css">
<link rel="stylesheet" type="text/css" href="stylesheets/time-studies.css">
<link rel="stylesheet" type="text/css" href="stylesheets/tooltips.css">
<link rel="stylesheet" type="text/css" href="stylesheets/vis-network.css">
</head>
<body>
<div id="browser-warning">
Your browser is not supported.
<br>
Please update to a newer browser.
</div>
<div id="loading"></div>
<div id="ui"></div>
<div id="background-animations">
<div class="videocontainer videocontainer--background">
<video autoplay muted loop id="stars">
<source src="images/stars-bg.webm" type="video/webm">
</video>
</div>
<div id="snow" style="display: none;"></div>
</div>
<div class="videocontainer">
<video preload muted id="realityanimbg" style="opacity: 0; display: none;">
<source src="images/realityanimbg.webm" type="video/webm">
</video>
</div>
<div id="performance-stats" class="c-performance-stats" style="display: none;"></div>
<script type="text/javascript" src="PlayFab/PlayFabClientApi.js"></script>
<script type="text/javascript" src="Steam/steam.js"></script>
<canvas id="forceRefreshCanvas" style="position: fixed; right: 0px; bottom: 0px; width: 100vw; height: 100%; opacity: 0.01; pointer-events: none; z-index: -20;"></canvas>
<script>
/*--Post GameLoad Steam Initialization--*/
var nodeOn = window.require!==undefined ? true : false
if(nodeOn){
var JQ = require('jquery');
var Steam = require('greenworks')
if (Steam) {
if (Steam.initAPI()) {
console.log("Steam is Functional!")
steamOn = true
} else {
console.log("Steam API not activated. Are you sure you opened the game in Steam?")
}
}
JQ(window).resize(function(){
SteamFunctions.UIZoom()
});
if(Steam){
if(Steam.initAPI()){
SteamFunctions.SteamInitialize()
}else{
}
}
}
</script>
</body>
<script>
// We use an IE only document variable to check here to force it to show the browser warning.
// For some reason, IE really does *not* want to cooperate, even when you have a file as a <script> that you load
// in the body.
// Other browsers will be checked whenever window.onload is ran.
if (document.documentMode) {
document.getElementById("loading").style.display = "none";
document.getElementById("browser-warning").style.display = "flex";
}
</script>
</html>