Files
monkeygg2.github.io/games/tiny-fishing/index.html
T
2023-09-25 19:51:08 -04:00

317 lines
8.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<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>
<script async="" crossorigin="anonymous" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5648726754785335"></script>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta content="no-cache" http-equiv="pragma"/>
<meta content="yes" name="apple-mobile-web-app-capable"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"/>
<meta charset="utf-8"/>
<link href="thumb.png" rel="icon" type="image/x-icon"/>
<title>Tiny Fishing</title>
<meta content="Tiny Fishing is a fishing game where you have to upgrade your gear to get bigger fish." name="description"/>
<meta content="noindex,nofollow" name="robots"/>
<style>
body {
background: #000;
color: #cccccc;
margin: 0px;
padding: 0px;
border: 0px;
}
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%;
}
invisible_button
{
background-color: rgba(1, 1, 1, 1);
background-repeat: no-repeat;
border: none;
cursor: disabled;
overflow: hidden;
outline: none;
bottom: 0;
left: 0;
position: absolute;
width: 100px;
height: 100px;
top: 0px;
left: 0px;
pointer-events: none;
filter: alpha(opacity=0);
-mos-opacity: 0.0;
opacity: 0.0;
display: block;
z-index: 2;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select:none;
/*
Introduced in IE 10.
See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
*/
-ms-user-select: none;
user-select: none;
}
div.gm4html5_div_class
{
margin: 0px;
padding: 0px;
border: 0px;
}
/* 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%;
}
#sbar1 {
border-radius: 25px;
background: #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}
</style>
<script>
if(!Number.isNaN && window.isNaN) Number.isNaN = isNaN;
//if (typeof Math.sign === 'undefined') { Math.sign = function (x) { return x > 0 ? 1 : x < 0 ? -1 : x; } }
</script>
<style>
.pokiSdkContainer {
overflow: hidden;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
}
.pokiSdkContainer.pokiSdkFixed {
position: fixed;
}
.pokiSdkContainer.pokiSdkVisible {
display: block;
}
.pokiSdkContainer.pokiSdkHidden,
.pokiSdkSpinnerContainer.pokiSdkHidden {
display: none;
}
.pokiSdkContainer.pokiSdkHidden,
.pokiSdkSpinnerContainer {
pointer-events: none;
}
.pokiSdkSpinnerContainer {
z-index: 10;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('https://a.poki.com/images/thumb_anim_2x.gif') 50% 50% no-repeat;
user-select: none;
}
.pokiSdkInsideContainer {
background: #000;
position: relative;
z-index: 1;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
opacity: 0;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
-ms-transition: opacity 0.5s ease-in-out;
-o-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}
.pokiSdkContainer.pokiSdkVisible .pokiSdkInsideContainer {
opacity: 1;
}
.pokiSDKAdContainer, .pokiSdkVideoContainer {
position: absolute;
width: 100%;
height: 100%;
}
.pokiSdkStartAdButton {
position: absolute;
z-index: 9999;
top: 0;
padding-top: 10%;
width: 100%;
height: 100%;
text-align: center;
color: #FFF;
font: 700 15pt 'Arial', sans-serif;
font-weight: bold;
letter-spacing: 1px;
transition: 0.1s ease-in-out;
line-height: 1em;
}
.pokiSdkPauseButton {
cursor:pointer;
position: absolute;
top: 50%;
left: 50%;
z-index: 1;
}
.pokiSdkPauseButton:before {
content: '';
position: absolute;
width: 100px;
height: 100px;
display: block;
border: 2px solid #fff;
border-radius: 50%;
user-select: none;
background-color: rgba(0, 0, 0, 0.6);
transition: background-color 0.5s ease;
animation: 1s linear infinite pulse;
}
.pokiSdkPauseButton:after {
content: '';
position: absolute;
display: block;
box-sizing: border-box;
border-color: transparent transparent transparent #fff;
border-style: solid;
border-width: 26px 0 26px 40px;
pointer-events: none;
animation: 1s linear infinite pulse;
left: 6px;
}
.pokiSdkPauseButtonBG {
position: fixed;
top: 0;
left: 0;
display: block;
content: '';
background: rgba(0, 43, 80, 0.5);
width: 100%;
height: 100%;
}
.pokiSdkPauseButtonBG:hover{
background: rgba(0, 43, 80, 0.7);
}
@keyframes pulse {
0% {
transform: translate(-50%, -50%) scale(0.95);
}
70% {
transform: translate(-50%, -50%) scale(1.1);
}
100% {
transform: translate(-50%, -50%) scale(0.95);
}
}
.pokiSdkProgressContainer {
background: #B8C7DD;
width: 100%;
height: 5px;
position: absolute;
bottom: 0;
z-index: 9999;
}
.pokiSdkProgressBar {
position:relative;
bottom:0px;
background: #FFDC00;
height: 100%;
width: 0%;
transition: width 0.5s;
transition-timing-function: linear;
}
.pokiSdkProgressBar.pokiSdkVisible, .pokiSdkPauseButton.pokiSdkVisible, .pokiSdkStartAdButton.pokiSdkVisible {
display: block;
pointer-events: auto;
}
.pokiSdkProgressBar.pokiSdkHidden, .pokiSdkPauseButton.pokiSdkHidden, .pokiSdkStartAdButton.pokiSdkHidden {
display: none;
pointer-events: none;
}
</style></head>
<body style="overflow: hidden;">
<div class="gm4html5_div_class" id="gm4html5_div_id" style="padding-top: 20px; position: absolute; height: 488px;">
<canvas height="360" id="canvas" style="position: absolute; left: 0px; top: 0px; width: 640px; height: 360px;" width="640">
<p>Your browser doesn't support HTML5 canvas.</p>
</canvas>
</div>
<!-- Run the game code -->
<script src="html5game/TinyFishing.js" type="text/javascript"></script>
<script>
if(!window.AudioContext && !window.webkitAudioContext) g_WebAudioContext = {};
GameMaker_Init();
if(!window.AudioContext && !window.webkitAudioContext) g_WebAudioContext = null;
</script>
</body></html>