mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
Merge branch 'main' into main
This commit is contained in:
commit
f163915f91
10
404.html
10
404.html
@ -15,20 +15,14 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- seo + other things -->
|
||||
<title>Selenite</title>
|
||||
|
Binary file not shown.
12
about.html
12
about.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
@ -33,7 +34,7 @@
|
||||
<script></script>
|
||||
</head>
|
||||
|
||||
<body id="noscroll">
|
||||
<body>
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
@ -45,7 +46,7 @@
|
||||
<p id="time">00:00 AM</p>
|
||||
</div>
|
||||
</header>
|
||||
<main id="main" class="noscroll">
|
||||
<main id="main">
|
||||
<h1>About Selenite</h1>
|
||||
<p style="padding-left: 100px; padding-right: 100px; padding-bottom: 20px">Selenite is a unblocked games website with over 200 games, with a simple tab cloak. Selenite was started as a small project started on Padlet, shared between friends. After ~1 month, we transferred to a custom made website. After a few rebrandings and redesigns, we've ended up at the Selenite you know and love (unless you work at a school).</p>
|
||||
|
||||
@ -53,7 +54,6 @@
|
||||
<p><a href="https://jquery.com/">jQuery</a>: a lot of the more technical stuff.</p>
|
||||
<p><a href="https://github.com/js-cookie/js-cookie/">js-cookie</a>: working with cookies.</p>
|
||||
<p><a href="https://shoelace.style">Shoelace</a>: a lot of smaller styling, such as the safe mode alert</p>
|
||||
<p><a href="https://necolas.github.io/normalize.css/">Normalize.css</a>: normalizes css across different browsers</p>
|
||||
<p><a href="https://www.bootcss.com/">Bootstrap</a>: useful as a base for some smaller, styling such as the new games popup</p>
|
||||
<p><a href="https://3kh0.net">3kh0</a>: a lot of games, the download/upload save feature, and the main inspiration</p>
|
||||
<p><a href="/backgrounds.html">View Background Credits</a></p>
|
||||
@ -66,7 +66,7 @@
|
||||
>
|
||||
<a href="https://codeberg.org/LEGALISE_PIRACY"
|
||||
><sl-avatar image="/img/pfps/legalise.webp" label="LEGALISE_PIRACY"></sl-avatar>
|
||||
<p>LEGALLISE</p></a
|
||||
<p>LEGALISE</p></a
|
||||
>
|
||||
<a href="https://github.com/a456pur"
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="a456pur"></sl-avatar>
|
||||
@ -89,7 +89,7 @@
|
||||
<p>ayo</p></a
|
||||
>
|
||||
<a class="avatar" href="https://discord.com/users/510677660775743500"
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="ayo"></sl-avatar>
|
||||
><sl-avatar image="/img/pfps/astra.webp" label="astra"></sl-avatar>
|
||||
<p>a456pur</p></a
|
||||
>
|
||||
<a class="avatar" href="https://discord.com/users/724793658011811862"
|
||||
@ -103,7 +103,7 @@
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="noscroll">
|
||||
<footer>
|
||||
<a href="https://codeberg.org/skysthelimitt/selenite">Source</a>
|
||||
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
|
||||
<a href="/suggest.html">Suggestions & Bugs</a>
|
||||
|
1
ad.html
1
ad.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -12,16 +12,11 @@
|
||||
<script src="/js/apps.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -15,6 +15,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"version": "1.0.4",
|
||||
"desc": "a few new games and new apps page",
|
||||
"timestamp": "1710174020"
|
||||
}
|
||||
|
||||
"version": "1.0.5",
|
||||
"desc": "patching a few games",
|
||||
"timestamp": "1712527983"
|
||||
}
|
@ -29,6 +29,11 @@
|
||||
"image": "cover.svg",
|
||||
"directory": "mind"
|
||||
},
|
||||
{
|
||||
"name": "House of Hazards",
|
||||
"image": "favicon.ico",
|
||||
"directory": "houseofhazards"
|
||||
},
|
||||
{
|
||||
"name": "Shape Shipper",
|
||||
"image": "cover.svg",
|
||||
|
BIN
img/backgrounds/bgs_theme.png
Normal file
BIN
img/backgrounds/bgs_theme.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
10
index.html
10
index.html
@ -14,6 +14,7 @@
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/randomquote.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
@ -21,13 +22,7 @@
|
||||
|
||||
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- seo + other things -->
|
||||
@ -76,6 +71,7 @@
|
||||
</div>
|
||||
<BR>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const adContainers = document.querySelectorAll("[id=adcontainer]");
|
||||
|
127
js/main.js
127
js/main.js
@ -1,6 +1,6 @@
|
||||
|
||||
var interval;
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
initTime();
|
||||
if (localStorage.getItem("theme")) {
|
||||
localStorage.setItem("selenite.theme", localStorage.getItem("theme"));
|
||||
localStorage.removeItem("theme");
|
||||
@ -18,12 +18,13 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
const iconSetting = document.querySelector("input#discordIcon");
|
||||
const blockClose = document.querySelector("input#blockClose");
|
||||
const openBlank = document.getElementById("blank");
|
||||
if (document.querySelector("widgetbot-crate")) {
|
||||
if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
const widget = document.querySelector("widgetbot-crate");
|
||||
widget.setAttribute("style", "display:none");
|
||||
}
|
||||
}
|
||||
const bgTheme = document.querySelector("input#bgTheme");
|
||||
// if (document.querySelector("widgetbot-crate")) {
|
||||
// if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
// const widget = document.querySelector("widgetbot-crate");
|
||||
// widget.setAttribute("style", "display:none");
|
||||
// }
|
||||
// }
|
||||
if (document.querySelector("input#discordIcon")) {
|
||||
if (localStorage.getItem("selenite.discordIcon") == "true") {
|
||||
iconSetting.checked = true;
|
||||
@ -48,6 +49,9 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
localStorage.setItem("selenite.tabDisguise", tabDisguise.checked);
|
||||
});
|
||||
}
|
||||
if (document.querySelector("input#bgTheme")) {
|
||||
bgTheme.checked = true;
|
||||
}
|
||||
document.getElementById("blank").addEventListener("click", () => {
|
||||
win = window.open();
|
||||
win.document.body.style.margin = "0";
|
||||
@ -67,18 +71,11 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
$.get("https://raw.githubusercontent.com/skysthelimitt/selenite-optimized/main/build/bookmark.txt", function (data) {
|
||||
$(".seleniteminified").prop({ href: data });
|
||||
});
|
||||
$.get("https://raw.githubusercontent.com/car-axle-client/car-axle-client/v9/dist/build.js", function (data) {
|
||||
$.get("https://raw.githubusercontent.com/car-axle-client/car-axle-client/v10/dist/build.js", function (data) {
|
||||
$(".caraxle").prop({ href: `javascript:${encodeURI(data)}` });
|
||||
});
|
||||
}
|
||||
if(document.body) {
|
||||
for(let i = 0;i<10;i++) {
|
||||
setTimeout(() => {
|
||||
crate.options.color = getComputedStyle(document.body).getPropertyValue("--uibg");
|
||||
}, 100)
|
||||
}
|
||||
}
|
||||
|
||||
initTime();
|
||||
});
|
||||
function setPanicMode() {
|
||||
if (!$("#panic").val().startsWith("https")) {
|
||||
@ -117,46 +114,84 @@ function delPassword() {
|
||||
}
|
||||
|
||||
function getCurrentTime() {
|
||||
const n = document.getElementById("time");
|
||||
const n = document.getElementById("time");
|
||||
|
||||
fetch("https://worldtimeapi.org/api/ip")
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const t = new Date(data.utc_datetime);
|
||||
const formattedTime = t.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
const currentTime = new Date();
|
||||
const formattedTime = currentTime.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
});
|
||||
fetch("https://worldtimeapi.org/api/ip")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
const t = new Date(data.utc_datetime);
|
||||
const formattedTime = t.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true,
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
})
|
||||
.catch(() => {
|
||||
const currentTime = new Date();
|
||||
const formattedTime = currentTime.toLocaleTimeString(undefined, {
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric",
|
||||
hour12: true,
|
||||
});
|
||||
n.textContent = formattedTime;
|
||||
});
|
||||
}
|
||||
|
||||
getCurrentTime();
|
||||
setInterval(getCurrentTime, 900);
|
||||
|
||||
$(function() { $('.game').on('error', function() { $(this).attr('src', decodeURIComponent(atob('aHR0cHM6Ly93ZWIuYXJjaGl2ZS5vcmcvd2ViLzIwMjQwMzEyMDA1NTQ3aWZfL2h0dHBzOi8vbmF0ZS1nYW1lcy5jb20vc3RhdGljL2ltYWdlLXBsYWNlaG9sZGVyLnN2Zw=='))); }); });
|
||||
$(document).ready(function(){if(!window.location.href.startsWith('about:')){$("#webicon").attr("placeholder",window.location.href.replace(/\/[^\/]*$/,'/'));}});
|
||||
function loadScript(a,b){var c=document.createElement("script");c.type="text/javascript",c.src=a,c.onload=b,document.head.appendChild(c)}loadScript("https://cdn.jsdelivr.net/gh/proudparrot2/quick.js/quick.js",function(){console.log("Script loaded successfully.");function getRandomNumber(){return Math.floor(1e6*Math.random())+1}if(1===getRandomNumber()){var a=_.get(".chan");_.edit(a,"selentine.")}});
|
||||
function loadUnderscore(e){var t=document.createElement("script");t.src="https://underscorejs.org/underscore-min.js",t.onload=e,document.head.appendChild(t)}function updatePlaceholder(){var e=document.title,t=document.getElementById("webname");t.placeholder=_.escape(e)}loadUnderscore(function(){updatePlaceholder()});setInterval(function(){var e=document.title,t=document.getElementById("webname").getAttribute("data-title");e!==t&&(updatePlaceholder(),document.getElementById("webname").setAttribute("data-title",e))},1e3);
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
if (!window.location.href.startsWith("about:")) {
|
||||
$("#webicon").attr("placeholder", window.location.href.replace(/\/[^\/]*$/, "/"));
|
||||
}
|
||||
});
|
||||
function loadScript(a, b) {
|
||||
var c = document.createElement("script");
|
||||
(c.type = "text/javascript"), (c.src = a), (c.onload = b), document.head.appendChild(c);
|
||||
}
|
||||
function toast(message, onclick) {
|
||||
const toast = document.createElement("div");
|
||||
toast.setAttribute("id", "toast");
|
||||
console.log(message.time);
|
||||
toast.innerHTML = `<div class=samerow><h1>${message.title}${message.time ? ` - ${timeAgo(new Date(message.time * 1000))}` : ""}</h1></div><p>${message.message}</p>`;
|
||||
toast.style.animation = "toastFade 6s";
|
||||
document.body.appendChild(toast);
|
||||
if(onclick){
|
||||
toast.addEventListener("click", onclick);
|
||||
toast.style.cursor = 'pointer';
|
||||
}
|
||||
setTimeout(() => {
|
||||
toast.remove();
|
||||
}, 6000);
|
||||
}
|
||||
function timeAgo(input) {
|
||||
const date = input instanceof Date ? input : new Date(input);
|
||||
const formatter = new Intl.RelativeTimeFormat("en");
|
||||
const ranges = {
|
||||
years: 3600 * 24 * 365,
|
||||
months: 3600 * 24 * 30,
|
||||
weeks: 3600 * 24 * 7,
|
||||
days: 3600 * 24,
|
||||
hours: 3600,
|
||||
minutes: 60,
|
||||
seconds: 1,
|
||||
};
|
||||
const secondsElapsed = (date.getTime() - Date.now()) / 1000;
|
||||
for (let key in ranges) {
|
||||
if (ranges[key] < Math.abs(secondsElapsed)) {
|
||||
const delta = secondsElapsed / ranges[key];
|
||||
return formatter.format(Math.round(delta), key);
|
||||
}
|
||||
}
|
||||
}
|
||||
let cookieConsentScript = document.createElement("script");
|
||||
cookieConsentScript.src = "/js/cookieConsent.js";
|
||||
document.head.appendChild(cookieConsentScript);
|
||||
let cookieConsentStyle = document.createElement("link");
|
||||
cookieConsentStyle.href = "/js/cookieConsent.css";
|
||||
cookieConsentStyle.rel = "stylesheet";
|
||||
document.head.appendChild(cookieConsentStyle);
|
||||
document.head.appendChild(cookieConsentStyle);
|
||||
|
25
js/widget.js
Normal file
25
js/widget.js
Normal file
@ -0,0 +1,25 @@
|
||||
let firstLoadWidget = 1;
|
||||
let widgetOpen = 0;
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let button = document.createElement("button");
|
||||
button.setAttribute("id", "discord");
|
||||
document.body.appendChild(button);
|
||||
button.addEventListener("click", () => {
|
||||
if(firstLoadWidget) {
|
||||
toast({ title: "Do you want to load Discord?", message: "This may be blocked in certain schools.\nClick here to load Discord." }, loadWidget);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
function loadWidget() {
|
||||
if(firstLoadWidget) {
|
||||
firstLoadWidget = 0;
|
||||
loadScript("https://cdn.jsdelivr.net/npm/@widgetbot/crate@3", loadCrate);
|
||||
}
|
||||
}
|
||||
function loadCrate() {
|
||||
new Crate({server: '1148719137238040606',channel: '1173731814196645909', color: "#00000000", glyph: ["data:;base64,=", "100%"]});
|
||||
crate.toggle(true);
|
||||
let element = document.querySelector('[aria-label="Discord chat embed"]');
|
||||
element.remove();
|
||||
}
|
@ -12,16 +12,11 @@
|
||||
<script src="/js/games.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||
new Crate({
|
||||
server: '1148719137238040606', // Selenite
|
||||
channel: '1173731814196645909', // #commands
|
||||
color: getComputedStyle(document.body).getPropertyValue("--uibg")
|
||||
})
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
|
||||
@ -43,32 +38,6 @@
|
||||
localStorage.setItem("selenite.version", data.version);
|
||||
}
|
||||
});
|
||||
function toast(message, type) {
|
||||
const toast = document.getElementById("toast");
|
||||
toast.innerHTML = `<div class=samerow><h1>${message.title} - ${timeAgo(new Date(message.time * 1000))}</h1></div><p>${message.message}</p>`;
|
||||
toast.style.animation = "toastFade 6s";
|
||||
}
|
||||
|
||||
function timeAgo(input) {
|
||||
const date = input instanceof Date ? input : new Date(input);
|
||||
const formatter = new Intl.RelativeTimeFormat("en");
|
||||
const ranges = {
|
||||
years: 3600 * 24 * 365,
|
||||
months: 3600 * 24 * 30,
|
||||
weeks: 3600 * 24 * 7,
|
||||
days: 3600 * 24,
|
||||
hours: 3600,
|
||||
minutes: 60,
|
||||
seconds: 1,
|
||||
};
|
||||
const secondsElapsed = (date.getTime() - Date.now()) / 1000;
|
||||
for (let key in ranges) {
|
||||
if (ranges[key] < Math.abs(secondsElapsed)) {
|
||||
const delta = secondsElapsed / ranges[key];
|
||||
return formatter.format(Math.round(delta), key);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</alerts>
|
||||
<body>
|
||||
|
@ -6,13 +6,13 @@
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
<link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond&display=swap" rel="stylesheet">
|
||||
<title>Bit Planes</title>
|
||||
<link href="styles.css?d7118c4f7ffc03840b96" rel="stylesheet"></head>
|
||||
<link href="styles.css?5d2872322fef463c838c" rel="stylesheet"></head>
|
||||
<body>
|
||||
<main>
|
||||
<section class="welcome">
|
||||
<!-- <div class="ribbon right green">-->
|
||||
<!-- <a href="https://github.com/antonmedv/bit-planes" tabindex="-1">Fork me on GitHub</a>-->
|
||||
<!-- </div>-->
|
||||
<div class="ribbon right black">
|
||||
<a href="https://discord.gg/XhzWf6Z48y" tabindex="-1" target="_blank">Join Discord server</a>
|
||||
</div>
|
||||
<h1>
|
||||
<i class="logo"></i>
|
||||
Bit Planes
|
||||
@ -32,21 +32,40 @@
|
||||
<label>
|
||||
<input type="text" name="nickname" placeholder="Nickname">
|
||||
</label>
|
||||
<p>
|
||||
<strong>Game mode:</strong>
|
||||
</p>
|
||||
<div class="game-modes">
|
||||
<div>
|
||||
<label title="Everyone against everyone."><input type="radio" name="mode" value="death-match" checked autofocus> Death match</label>
|
||||
<div class="game-modes-column">
|
||||
<p>
|
||||
<strong>Game modes:</strong>
|
||||
</p>
|
||||
<div>
|
||||
<label title="Everyone against everyone."><input type="radio" name="mode" value="death-match"
|
||||
checked autofocus> Death match</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Fight between teams."><input type="radio" name="mode" value="teams"> Teams</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="One on one duel."><input type="radio" name="mode" value="duel"> Duel</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Survive with a waives of enemies."><input type="radio" name="mode"
|
||||
value="survival"> Survival</label>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Fight between teams."><input type="radio" name="mode" value="teams"> Teams</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="One on one duel."><input type="radio" name="mode" value="duel"> Duel</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Survive with a waives of enemies."><input type="radio" name="mode" value="survival"> Survival</label>
|
||||
<div class="game-modes-column">
|
||||
<p>
|
||||
<strong>Fun modes:</strong>
|
||||
</p>
|
||||
<div>
|
||||
<label title="Two big teams against each other."><input type="radio" name="mode" value="swarm">
|
||||
Swarm</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Total domination."><input type="radio" name="mode" value="domination"> Domination</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Revenge of cows."><input type="radio" name="mode" value="revenge"> Revenge</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="action">
|
||||
@ -92,21 +111,31 @@
|
||||
<canvas id="canvas"></canvas>
|
||||
|
||||
<!-- Yandex.Metrika counter -->
|
||||
<script type="text/javascript" >
|
||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
m[i].l=1*new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||||
<script type="text/javascript">
|
||||
(function (m, e, t, r, i, k, a) {
|
||||
m[i] = m[i] || function () {
|
||||
(m[i].a = m[i].a || []).push(arguments)
|
||||
}
|
||||
m[i].l = 1 * new Date()
|
||||
for (var j = 0; j < document.scripts.length; j++) {
|
||||
if (document.scripts[j].src === r) {
|
||||
return
|
||||
}
|
||||
}
|
||||
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
|
||||
})
|
||||
(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js', 'ym')
|
||||
|
||||
ym(94977381, "init", {
|
||||
clickmap:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true
|
||||
});
|
||||
ym(94977381, 'init', {
|
||||
clickmap: true,
|
||||
trackLinks: true,
|
||||
accurateTrackBounce: true,
|
||||
})
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/94977381" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
<noscript>
|
||||
<div><img src="https://mc.yandex.ru/watch/94977381" style="position:absolute; left:-9999px;" alt=""/></div>
|
||||
</noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
|
||||
<script type="text/javascript" src="index.js?d7118c4f7ffc03840b96"></script></body>
|
||||
<script type="text/javascript" src="index.js?5d2872322fef463c838c"></script></body>
|
||||
</html>
|
||||
|
File diff suppressed because one or more lines are too long
@ -31384,7 +31384,7 @@ function $rt_array(cls,data){this.h5=null;this.$id$=0;this.type=cls;this.data=da
|
||||
"random.door_close","mob.ghast.charge","mob.ghast.fireball","mob.zombie.wood","mob.zombie.metal","mob.zombie.woodbreak","mob.wither.shoot","mob.bat.takeoff","mob.zombie.infect","mob.zombie.unfect","random.anvil_break","random.anvil_use","game.potion.smash","fps | C: ",", E: ","textures/environment/moon_phases.png","textures/environment/sun.png","textures/environment/clouds.png","textures/environment/end_sky.png","textures/misc/forcefield.png","achievement.get","textures/gui/achievement/achievement_background.png",
|
||||
"Ticking Particle","Particle being ticked","Particle","Particle Type","Rendering Particle","Particle being rendered","textures/particle/particles.png","bossHealth","sleep","overlayMessage","titleAndSubtitle","chat","jumpBar","expBar","expLevel","selectedItemName","demo","demo.demoExpired","demo.remainingTime","number to skip cannot be negative","mountHealth","record.nowPlaying","textures/misc/vignette.png","textures/gui/widgets.png","textures/misc/pumpkinblur.png","Couldn\'t load server list","Couldn\'t save server list",
|
||||
"Server {} locked this client out on a previous connection, will not attempt to reconnect","MOTD","Sending {} query to: \"{}\"","Could not send query to \"{}\"!","Too Many Requests!\nTry again later","Server {} ratelimited this client out on a previous connection, assuming lockout","Edit Profile","editProfile.title","gui.done","editProfile.addSkin","editProfile.clearSkin","editProfile.username","editProfile.playerSkin","Steve","Alex","image/png","png","The selected file \'","\' is not a PNG file!","The selected image \'",
|
||||
"\' is not the right size!\nEaglercraft only supports 64x32 or 64x64 skins","eagler:gui/eagler_gui.png","background","Merry X-mas!","lax1dude","Made by lax1dude","Servers","Happy new year!","OOoooOOOoooo! Spooky!","Codeberg","menu.options","menu.editProfile","EaglercraftX u16","Singleplayer was removed dumbass","https://codeberg.org/skysthelimitt/selenite","Minecraft 1.12.2","Selenite Edition","only niggers respect copyright","Go Home","http://selenite.cc","gui.button.press",
|
||||
"\' is not the right size!\nEaglercraft only supports 64x32 or 64x64 skins","eagler:gui/eagler_gui.png","background","Merry X-mas!","lax1dude","Made by lax1dude","Servers","Happy new year!","OOoooOOOoooo! Spooky!","Codeberg","menu.options","menu.editProfile","EaglercraftX u16","Singleplayer was removed dumbass","https://codeberg.org/skysthelimitt/selenite","Minecraft 1.12.2","Selenite Edition","Go Home","http://selenite.cc","gui.button.press",
|
||||
"_blank","top=",",left=",",width=",",height=",",menubar=0,status=0,titlebar=0,toolbar=0","<html><head><title>EaglercraftX 1.8 Credits</title></head><body><pre>","</pre></body></html>","texts/splashes.txt","textures/gui/title/minecraft.png","textures/gui/title/background/panorama_0.png","textures/gui/title/background/panorama_1.png","textures/gui/title/background/panorama_2.png","textures/gui/title/background/panorama_3.png","textures/gui/title/background/panorama_4.png","textures/gui/title/background/panorama_5.png",
|
||||
"Connecting to: {}","Logging in: {}","Handshake Success","Handshake Failure","connect.failed","Connection Refused","Handshake Failure\n\nAre you sure this is an eagler 1.8 server?","gui.cancel","Aborted","connect.connecting","connect.authorizing","Handshake Failure: Too Many Requests!","Server has locked this client out","%.2f,%.2f,%.2f - %s","World: (%d,%d,%d)","(Error finding world loc)","Chunk: (at %d,%d,%d in %d,%d; contains blocks %d,0,%d to %d,255,%d)","(Error finding chunk loc)","Region: (%d,%d; contains chunks %d,%d to %d,%d, blocks %d,0,%d to %d,255,%d)",
|
||||
"~~NULL~~","~~ERROR~~ ","-- "," --\n","Details:","\n\t","\nStacktrace:","\n\tat ","Block type","Block data value","Block location","Wrong number of repetitions of X pattern at ","Multiple entries with same ","key","game.player.swim","game.player.swim.splash","random.drink","random.eat","naturalRegeneration","keepInventory","game.player.hurt","game.player.die","SelectedItemSlot","Sleeping","SleepTimer","XpP","XpLevel","XpTotal","XpSeed","Score","SpawnX","EnderItems","SelectedItem","SpawnY","SpawnZ","SpawnForced",
|
||||
|
@ -28,7 +28,8 @@ class EJS_GameManager {
|
||||
setRewindGranularity: this.Module.cwrap('set_rewind_granularity', 'null', ['number']),
|
||||
toggleSlowMotion: this.Module.cwrap('toggle_slow_motion', 'null', ['number']),
|
||||
setSlowMotionRatio: this.Module.cwrap('set_sm_ratio', 'null', ['number']),
|
||||
getFrameNum: this.Module.cwrap('get_current_frame_count', 'number', [''])
|
||||
getFrameNum: this.Module.cwrap('get_current_frame_count', 'number', ['']),
|
||||
setVSync: this.Module.cwrap('set_vsync', 'null', ['number'])
|
||||
}
|
||||
this.writeFile("/home/web_user/retroarch/userdata/config/Beetle PSX HW/Beetle PSX HW.opt", 'beetle_psx_hw_renderer = "software"\n');
|
||||
this.writeFile("/home/web_user/retroarch/userdata/config/MAME 2003 (0.78)/MAME 2003 (0.78).opt", 'mame2003_skip_disclaimer = "enabled"\nmame2003_skip_warnings = "enabled"\n');
|
||||
@ -117,10 +118,13 @@ class EJS_GameManager {
|
||||
"savefile_directory = \"/data/saves\"\n";
|
||||
}
|
||||
initShaders() {
|
||||
if (!window.EJS_SHADERS) return;
|
||||
if (!this.EJS.config.shaders) return;
|
||||
this.mkdir("/shader");
|
||||
for (const shader in window.EJS_SHADERS) {
|
||||
this.FS.writeFile('/shader/'+shader, window.EJS_SHADERS[shader]);
|
||||
for (const shaderFileName in this.EJS.config.shaders) {
|
||||
const shader = this.EJS.config.shaders[shaderFileName];
|
||||
if (typeof shader === 'string') {
|
||||
this.FS.writeFile(`/shader/${shaderFileName}`, shader);
|
||||
}
|
||||
}
|
||||
}
|
||||
clearEJSResetTimer() {
|
||||
@ -305,6 +309,9 @@ class EJS_GameManager {
|
||||
}, null, false, {responseType: "arraybuffer", method: "GET"});
|
||||
})
|
||||
}
|
||||
setVSync(enabled) {
|
||||
this.functions.setVSync(enabled);
|
||||
}
|
||||
toggleMainLoop(playing) {
|
||||
this.functions.toggleMainLoop(playing);
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user