frontend/dadish3/index.html
khaybarkhaybaryayahud 92fb72c9de Add files via upload
2024-01-19 19:39:13 -05:00

161 lines
5.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<!-- Generated by GameMaker:Studio http://www.yoyogames.com/gamemaker/studio -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="pragma" content="no-cache"/>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta charset="utf-8"/>
<script>
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
var meta = document.getElementById ("viewport");
meta.setAttribute ('canvas', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
}
</script>
<!-- Set the title bar of the page -->
<title>Dadish 3 / Играть на igroutka.ru</title>
<!-- Set the background colour of the document -->
<style>
body {
background: #0;
color:#cccccc;
margin: 0px;
padding: 0px;
border: 0px;
}
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
#content { background: #000000; width: 100%; height: 100%; }
canvas {
image-rendering: optimizeSpeed;
-webkit-interpolation-mode: nearest-neighbor;
-ms-touch-action: none;
margin: 0px;
padding: 0px;
border: 0px;
}
:-webkit-full-screen #canvas {
width: 100%;
height: 100%;
}
div.gm4html5_div_class
{
margin: 0px;
padding: 0px;
border: 0px;
width: 100%;
height: 100%;
}
/* START - Login Dialog Box */
div.gm4html5_login
{
padding: 20px;
position: absolute;
border: solid 2px #000000;
background-color: #404040;
color:#00ff00;
border-radius: 15px;
box-shadow: #101010 20px 20px 40px;
}
div.gm4html5_cancel_button
{
float: right;
}
div.gm4html5_login_button
{
float: left;
}
div.gm4html5_login_header
{
text-align: center;
}
/* END - Login Dialog Box */
:-webkit-full-screen {
width: 100%;
height: 100%;
}
#canvas, #loading_screen{
width: 100%;
height: auto;
image-rendering: optimizeQuality;
}
#loading_screen{
background-repeat: repeat;
background-size: 100%;
}
#canvas div{
width: 100%;
}
canvas, #canvas {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#gm4html5_div_id{
background-image: url("dadish3/splashy.jpg");
background-size: 100% auto;
background-repeat: no-repeat;
}
</style>
<script type="text/javascript" src="asset/files/scripts/scr.js"></script></head>
<body>
<div class="gm4html5_div_class" id="gm4html5_div_id">
<!-- Create the canvas element the game draws to -->
<canvas id="canvas" width="960" height="540" >
</canvas>
</div>
<!-- Run the game code -->
<script type="text/javascript" src="asset/games/164/v6t0YAuTK1POpkF2/dadish_3/dadish3/Dadish 3 Poki.js"></script>
<!-- Poki start -->
<script src="asset/games/164/v6t0YAuTK1POpkF2/dadish_3/poki-sdk.js"></script>
<script>(function() {
function fin(ok) {
window.PokiSDK_OK = ok;
GameMaker_Init();
}
window.addEventListener("load", function(_) {
window.PokiSDK_loadState = 0;
if (window.PokiSDK) {
PokiSDK.init().then(function() {
fin(true);
}).catch(function() {
fin(false);
});
} else {
window.PokiSDK = null;
fin(false);
}
//PokiSDK.setDebug(true); <-- Uncomment this line for debugging
});
})();
</script>
<!-- Poki end -->
</body>
</html>