final fix

This commit is contained in:
skysthelimitt 2023-11-17 22:08:19 -05:00
parent 17ea0563f9
commit 9be75c5640
29 changed files with 286 additions and 45 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

BIN
funnyshooter/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
funnyshooter/icon.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -1,38 +1,93 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en-us">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Funny Shooter 2</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="/js/all.js"></script> <title>Funny Shooter</title>
<script>alert("broken rn, sry")</script> <link rel="shortcut icon" href="favicon.ico">
<meta name="robots" content="noindex,nofollow" /> <link rel="stylesheet" href="style.css">
<script>
window.config = {
loader: "unity-2020",
debug: false,
maxRatio: 16 / 9,
minRatio: 9 / 16,
title: "Funny Shooter 2",
thumbnail: "894abba63a6b23fed823f404831f444f.jpeg",
numScreenshots: 4,
unityVersion: "2020.3.37f1",
unityWebglBuildUrl: "",
fileSize: 33,
cachedDecompressedFileSizes: {
"https://raw.githubusercontent.com/funnyshooter/funnyshooter.github.io/main/file/Build/FunnyShooter2_Poki.data.unityweb": 29010101,
"FunnyShooter2_Poki.framework.js.unityweb": 74477,
"FunnyShooter2_Poki.loader.js": 110821,
"FunnyShooter2_Poki.wasm.unityweb": 4670173,
},
metadata: { poki_template_version: 1, background_color: "#FFFFFF", background_filename: "FunnyShooter2_Poki.jpg", code_filename: "FunnyShooter2_Poki.wasm.unityweb", company_name: "GoGoMan", data_filename: "https://raw.githubusercontent.com/funnyshooter/funnyshooter.github.io/main/file/Build/FunnyShooter2_Poki.data.unityweb", decompression_fallback: "Brotli", development_player: "false", framework_filename: "FunnyShooter2_Poki.framework.js.unityweb", height: "600", loader_filename: "FunnyShooter2_Poki.loader.js", product_name: "Funny Shooter 2", product_version: "1.0.1", splash_screen_style: "Dark", total_memory: "268435456", unity_version: "2020.3.37f1", use_data_caching: "true", use_threads: "false", use_wasm: "true", use_webgl_1_0: "true", use_webgl_2_0: "true", width: "960" },
};
</script>
<!-- will be copied to the resulting head //-->
</head> </head>
<body class="dark">
<div id="unity-container" class="unity-desktop">
<canvas id="unity-canvas"></canvas>
</div>
<div id="loading-cover" style="display:none;">
<div id="unity-loading-bar">
<div id="unity-logo"><img src="logo.png"></div>
<div id="unity-progress-bar-empty" style="display: none;">
<div id="unity-progress-bar-full"></div>
</div>
<div class="spinner"></div>
</div>
</div>
<div id="unity-fullscreen-button" style="display: none;"></div>
<script>
const hideFullScreenButton = "1";
const buildUrl = "Build";
const loaderUrl = buildUrl + "/FunnyShooter_GD.loader.js";
const config = {
dataUrl: buildUrl + "/FunnyShooter_GD.data.unityweb",
frameworkUrl: buildUrl + "/FunnyShooter_GD.framework.js.unityweb",
codeUrl: buildUrl + "/FunnyShooter_GD.wasm.unityweb",
streamingAssetsUrl: "StreamingAssets",
companyName: "GoGoMan",
productName: "Funny Shooter",
productVersion: "0.1",
};
<body></body> const container = document.querySelector("#unity-container");
const canvas = document.querySelector("#unity-canvas");
const loadingCover = document.querySelector("#loading-cover");
const progressBarEmpty = document.querySelector("#unity-progress-bar-empty");
const progressBarFull = document.querySelector("#unity-progress-bar-full");
const fullscreenButton = document.querySelector("#unity-fullscreen-button");
const spinner = document.querySelector('.spinner');
const canFullscreen = (function() {
for (const key of [
'exitFullscreen',
'webkitExitFullscreen',
'webkitCancelFullScreen',
'mozCancelFullScreen',
'msExitFullscreen',
]) {
if (key in document) {
return true;
}
}
return false;
}());
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
container.className = "unity-mobile";
config.devicePixelRatio = 1;
}
canvas.style.background = "url('" + buildUrl + "/FunnyShooter_GD.jpg.unityweb') center / cover";
loadingCover.style.display = "";
const script = document.createElement("script");
script.src = loaderUrl;
script.onload = () => {
createUnityInstance(canvas, config, (progress) => {
spinner.style.display = "none";
progressBarEmpty.style.display = "";
progressBarFull.style.width = `${100 * progress}%`;
}).then((unityInstance) => {
loadingCover.style.display = "none";
if (canFullscreen) {
if (!hideFullScreenButton) {
fullscreenButton.style.display = "";
}
fullscreenButton.onclick = () => {
unityInstance.SetFullscreen(1);
};
}
}).catch((message) => {
alert(message);
});
};
document.body.appendChild(script);
</script>
</body>
</html> </html>

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -1 +0,0 @@
https://4a3fab9c-91b5-4737-b5cd-fbf50aedaf83.poki-gdn.com/7a99568b-12cb-466d-975e-d1a61cc7609f

105
funnyshooter/style.css Normal file
View File

@ -0,0 +1,105 @@
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html, body {
height: 100%;
}
canvas {
display: block;
}
body {
margin: 0;
}
#unity-container {
width: 100%;
height: 100%;
}
#unity-canvas {
width: 100%;
height: 100%;
background: #FFFFFF;
}
#loading-cover {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#unity-loading-bar {
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#unity-logo {
text-align: center;
}
#unity-logo img {
max-width: 80%;
}
#unity-progress-bar-empty {
width: 80%;
height: 24px;
margin: 10px 20px 20px 10px;
text-align: left;
border: 1px solid white;
padding: 2px;
}
#unity-progress-bar-full {
width: 0%;
height: 100%;
background: white;
}
.light #unity-progress-bar-empty {
border-color: black;
}
.light #unity-progress-bar-full {
background: black;
}
#unity-fullscreen-button {
position: absolute;
right: 10px;
bottom: 10px;
width: 38px;
height: 38px;
background: url('fullscreen-button.png') no-repeat center;
background-size: contain;
}
.spinner,
.spinner:after {
border-radius: 50%;
width: 5em;
height: 5em;
}
.spinner {
margin: 10px;
font-size: 10px;
position: relative;
text-indent: -9999em;
border-top: 1.1em solid rgba(255, 255, 255, 0.2);
border-right: 1.1em solid rgba(255, 255, 255, 0.2);
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
border-left: 1.1em solid #ffffff;
transform: translateZ(0);
animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

View File

@ -245,3 +245,6 @@ addEventListener("visibilitychange", (e) => {
} }
}); });
if(location.hostname.includes(".vercel.app") && (location.hostname.includes("selenite-beta") || location.hostname.includes("space-lovers") || location.hostname.includes("school-education"))) {
location.pathname = "/vercel.html"
}

81
vercel.html Normal file
View File

@ -0,0 +1,81 @@
<!DOCTYPE html>
<html class="sl-theme-dark" lang="en">
<head>
<!-- initialize theme vars
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
<!-- initialize externals -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script>
<!-- initialize my stuff -->
<script src="/js/all.js"></script>
<script src="/js/main.js"></script>
<script src="/js/cookie.js"></script>
<link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" />
<!-- seo + other things -->
<title>Selenite</title>
<link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="Website Creator" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
</head>
<body id="noscroll">
<header>
<a href="/index.html">Home</a>
<a href="/bookmarklets.html">Bookmarklets</a>
<a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a>
<a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a>
<a href="/about.html">About</a>
</header>
<main id="main" class="noscroll">
<h1>Vercel</h1>
<p>Selenite is no longer on Vercel. Please use the button below to download your data, which can be used on any other link.</p>
<button onclick="downloadMainSave()">Download Save</button>
<p>Selenite can no longer support the amount of traffic that the Vercel links recieve. Sadly, this WILL cause many people to lose game progress. Therefore, we are giving you this page.</p>
<p>Please join the <a href="https://discord.gg/7jyufnwJNf">Discord</a>, or use one of the following links:</p>
<a href="https://selenite.cc">selenite.cc</a>
<a href="https://selenite.pages.dev">selenite.pages.dev</a>
<a href="https://selenite.skysthelimit.dev/"> selenite.skysthelimit.dev</a>
<a href="https://projects.blueshadows.cl/">projects.blueshadows.cl</a>
<a href="https://contact.deleesportsmedicine.com">contact.deleesportsmedicine.com</a>
</main>
<footer class="noscroll">
<a href="https://github.com/selenite-cc/Selenite">Source Code</a>
<a id="panicmode">Panic Mode</a>
<a href="/transfer.html">Transfer your data</a>
<a href="/suggest.html">Bug Reports</a>
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
<a href="/suggest.html">Suggestions</a>
<a href="/contact.html">Contact</a>
</footer>
</body>
</html>