quick things

This commit is contained in:
sky 2024-01-28 21:47:41 -05:00
parent 59a3c32231
commit 40bf804014
20 changed files with 484 additions and 246 deletions

View File

@ -16,6 +16,7 @@
<script type="text/javascript" src="music.js"></script>
<script type="text/javascript" src="classes.js?t=updateme0"></script>
<script src="/js/all.js"></script>
<script type="text/javascript">
//window.eag_self_proxy=true;//set to true to set the default proxy to the current url
//window.eag_proxy_list="";//set to a string of comma-separated proxy ip:port combinations for a custom proxy list

View File

@ -523,7 +523,7 @@
"image": "icon.png"
},
{
"name": "Geometry Dash",
"name": "Geometry Dash (Scratch)",
"directory": "geometrydash",
"image": "icon.png"
},
@ -1562,5 +1562,10 @@
"name": "Crimson Fantasia",
"directory": "crimsonfantasia",
"image": "14qAOu.png"
},
{
"name": "Geometry Dash Lite",
"directory": "gdlite",
"image": "logo.png"
}
]

File diff suppressed because one or more lines are too long

View File

@ -2,9 +2,9 @@
"companyName": "DefaultCompany",
"productName": "GeometryDashLife",
"productVersion": "0.1",
"dataUrl": "GeometryDashLife.data.unityweb",
"wasmCodeUrl": "GeometryDashLife.code.unityweb.js",
"wasmFrameworkUrl": "GeometryDashLife.wasm.framework.unityweb",
"dataUrl": "GeometryDashLite.data.unityweb",
"wasmCodeUrl": "GeometryDashLite.wasm.code.unityweb",
"wasmFrameworkUrl": "GeometryDashLite.wasm.framework.unityweb",
"graphicsAPI": ["WebGL 2.0","WebGL 1.0"],
"webglContextAttributes": {"preserveDrawingBuffer": false},
"splashScreenStyle": "Dark",

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
gdlite/image/loading.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,217 +1,256 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Geometry Dash Lite</title>
<meta name="description" content="Play Geometry Dash Lite to experience new thrilling adventures. Control your character to overcome deadly obstacles and complete tricky roads to win" />
<meta name="title" content="Geometry Dash Lite" />
<meta
name="keywords"
content="Geometry Dash Lite
" />
<meta
name="news_keywords"
content="Geometry Dash Lite
" />
<link rel="canonical" href="https://geometrydashlite.io/" />
<link rel="icon" href="/rs/logo-geometry-dash-lite.png" />
<meta property="og:title" content="Geometry Dash Lite" itemprop="headline" />
<meta property="og:type" content="website" />
<meta property="og:url" itemprop="url" content="https://geometrydashlite.io/" />
<meta property="og:image" itemprop="thumbnailUrl" content="/rs/banner-geometry-dash-lite.jpg" />
<meta property="og:description" content="Play Geometry Dash Lite to experience new thrilling adventures. Control your character to overcome deadly obstacles and complete tricky roads to win" itemprop="description" />
<meta property="og:site_name" content="Geometry Dash Lite" />
<link rel="apple-touch-icon" href="/rs/logo-geometry-dash-lite.png" />
<meta name="twitter:title" content="Geometry Dash Lite" />
<meta name="twitter:url" content="https://geometrydashlite.io/" />
<meta name="twitter:image" content="/rs/banner-geometry-dash-lite.jpg" />
<meta name="twitter:description" content="Play Geometry Dash Lite to experience new thrilling adventures. Control your character to overcome deadly obstacles and complete tricky roads to win" />
<meta name="twitter:card" content="summary" />
</head>
<body>
<link rel="stylesheet" href="/game.css?v=1" />
<div id="gameContainer"></div>
<div id="loader">
<img class="logo" src="image/loading.png?v=1" />
<div class="spinner"></div>
<div class="pos_progress">
<div class="progress">
<div class="posfull"><img class="full" src="image/process_bar_back.png" /></div>
<div class="posbox"><img class="box_process" src="image/process_bar_front.png" /></div>
</div>
</div>
<script src="Build/UnityLoader.js"></script>
<script>
UnityLoader.compatibilityCheck = function (e, t, r) {
t();
};
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/GeometryDashLife.json", { onProgress: UnityProgress });
function UnityProgress(gameInstance, progress) {
if (!gameInstance.Module) {
return;
}
const loader = document.querySelector("#loader");
if (!gameInstance.progress) {
const progress = document.querySelector("#loader .progress");
progress.style.display = "block";
gameInstance.progress = progress.querySelector(".full");
loader.querySelector(".spinner").style.display = "none";
}
gameInstance.progress.style.transform = `scaleX(${progress})`;
if (progress === 1 && !gameInstance.removeTimeout) {
gameInstance.removeTimeout = setTimeout(function () {
loader.style.display = "none";
}, 2000);
}
}
var theElement = document.getElementById("gameContainer");
theElement.addEventListener("mouseup", tapOrClick, false);
theElement.addEventListener("touchend", tapOrClick, false);
function tapOrClick(event) {
fullScreenAPI();
event.preventDefault();
return false;
}
function HiddenClass(instane_game) {
var widthPage = window.innerWidth;
var heightPage = window.innerHeight;
if (heightPage > widthPage) {
document.getElementById("orientation").style.display = "block";
document.getElementById("gameContainer").style.display = "none";
gameInstance.SendMessage("AudioMainController", "JSCallUnity", 0);
} else {
document.getElementById("orientation").style.display = "none";
document.getElementById("gameContainer").style.display = "block";
gameInstance.SendMessage("AudioMainController", "JSCallUnity", 1);
}
}
function fullScreenAPI() {
var ua = navigator.userAgent.toLowerCase();
var isAndroid = ua.indexOf("android") > -1;
if (isAndroid) {
GoFullScreen(document.documentElement);
}
}
function GoFullScreen(element) {
if (!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement) {
if (element.requestFullscreen && document.fullscreenEnabled) {
element.requestFullscreen();
} else if (element.mozRequestFullScreen) {
element.mozRequestFullScreen();
} else if (element.webkitRequestFullscreen) {
element.webkitRequestFullscreen();
} else if (element.msRequestFullscreen) {
element.msRequestFullscreen();
}
}
}
</script>
<script src="themes/geometrydashlite.io/rs/js/jquery-3.4.1.min.js"></script>
<script>
let ads_pub = "4017755729799438";
let ads_text_0 = '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-';
let ads_text_1 = '"crossorigin="anonymous"><\/script><ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-';
let ads_text_2 = '" data-ad-slot="';
let ads_text_3 = '"></ins>';
let adsindex = 0;
let adsindex2 = 0;
let FlagTimeout = 0;
let timeTimeout = 45000;
function ChangeAds1(adsindex) {}
function ChangeAds2(adsindex2) {
/*
if(adsindex2===1){
document.getElementById("Ads2").innerHTML = ads_text_0+ads_pub+ads_text_1+ads_pub+ads_text_2+'5788371856'+ads_text_3;
(adsbygoogle = window.adsbygoogle || []).push({});
}
if(adsindex2===2){
document.getElementById("Ads2").innerHTML = ads_text_0+ads_pub+ads_text_1+ads_pub+ads_text_2+'6909881836'+ads_text_3;
(adsbygoogle = window.adsbygoogle || []).push({});
}
if(adsindex2===3){
document.getElementById("Ads2").innerHTML = ads_text_0+ads_pub+ads_text_1+ads_pub+ads_text_2+'5405228475'+ads_text_3;
(adsbygoogle = window.adsbygoogle || []).push({});
}
*/
}
function ChangeFlagTimeout() {
FlagTimeout = 1;
setTimeout(function () {
FlagTimeout = 0;
}, timeTimeout);
}
ChangeAds1(adsindex);
ChangeAds2(adsindex2);
ChangeFlagTimeout();
function ToggleInfo() {}
function ShowInfo() {}
function HideInfo() {}
function UnityCallJs() {}
function UnityCallEndgameJs() {
console.log("untiy call end game");
}
function UnityCallPlayJs() {
console.log("untiy call Play game");
}
function UnityCallLeaderboardJs() {
console.log("untiy call On Leaderboard");
}
function UnityCallAgainJs() {}
function UnityCallBackHomeJs() {
console.log("untiy call backHome");
}
function UnityCallChangeDayLeaderboardJs() {
console.log("untiy call change day leaderboard");
}
function UnityCallCloseLeaderboardJs() {
console.log("untiy call close leaderboard");
}
function UnityCallPlayJs() {
console.log("untiy call play game");
}
function UnityCallReturnHomeJs() {
console.log("untiy call return home");
}
function UnityCallChooseLevelJs() {
console.log("untiy call choose level");
}
function UnityCallChooseCharacterJs() {
console.log("untiy call choose character");
}
function UnityCallChooseColorJs() {
console.log("untiy call choose color");
}
function UnityCallContinueJs() {
console.log("untiy call continue");
}
function UnityCallChangeModeJs() {
console.log("untiy call change mode");
}
function UnityCallPauseGameJs() {
console.log("untiy call pause game");
}
function UnityCallChangeLevelJs() {
console.log("untiy call change level");
}
function UnityCallLevelUpJs() {
console.log("untiy call level up");
}
var allowedDomains = ["127.0.0.1:5500"];
var referringUrl = document.referrer;
var isAllowedDomain = allowedDomains.some(function (domain) {
return referringUrl.includes(atob(domain));
});
if (true = false) {
window.location.href = "YOUR_REDIRECT_DOMAIN";
}
</script>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Geometry Dash</title>
<link rel="icon" type="image/png" href="https://e3334afd.cf-nate.pages.dev/0/g/geodash/game/splash.png">
<meta name="description" content="Play Geometry Dash Lite Online For Free on Chromebook, PC, Windows, Desktop in Chrome and modern browsers.">
<link rel="canonical" href="https://gamecomets.com/game/geometry-dash-lite/" />
<meta name="robots" content="noindex, nofollow">
<meta charset="utf-8">
<script src="/js/all.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="themes/geometrydashlite.io/rs/css/home.css?v=1">
</head>
<meta name="cf-2fa-verify" content="GpoihhhSRQknehLQkEtXM">
<body>
<style>
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
margin: 0;
background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
overflow: hidden;
}
#gameContainer {
width: 100vw;
height: 100vh;
}
canvas {
width: 100%;
height: 100%;
display: block;
}
canvas+* {
z-index: 2;
}
.container {
max-width: 1600px;
position: relative;
}
.posImg {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.logo {
position: absolute;
display: block;
max-width: 100vw;
max-height: 70vh;
top: 300px;
}
.pos_progress {
position: absolute;
bottom: 15%;
width: 100%;
}
.progress {
margin: 1.5em auto;
max-width: 436px;
height: auto;
display: none;
position: relative;
}
.full {
width: 97%;
transform-origin: top left;
}
.box_process {
width: 100%;
}
.process {
width: 98%;
}
.progress .posfull,
.progress .posbox {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
}
.progress .posfull {
top: 8px;
z-index: 1;
}
.progress .posbox {
top: 0;
z-index: 2;
}
#loader {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
}
.pos_spinner {
position: absolute;
top: 70%;
left: 50%;
transform: translate(-30%, -50%);
}
.spinner,
.spinner:after {
display: none;
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);
}
}
</style>
<div id="gameContainer"></div>
<div id="loader"><img class="logo" src="image/loading.png?v=1">
<div class="spinner"></div>
<div class=" pos_progress">
<div class="progress">
<div class="posfull"><img class="full" src="image/process_bar_back.png"></div>
<div class="posbox"><img class="box_process" src="image/process_bar_front.png"></div>
</div>
</div>
<script src="Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/GeometryDashLite.json", {
onProgress: UnityProgress
});
function UnityProgress(gameInstance, progress) {
if (!gameInstance.Module) {
return;
}
const loader = document.querySelector("#loader");
if (!gameInstance.progress) {
const progress = document.querySelector("#loader .progress");
progress.style.display = "block";
gameInstance.progress = progress.querySelector(".full");
loader.querySelector(".spinner").style.display = "none";
}
gameInstance.progress.style.transform = `scaleX(${progress})`;
if (progress === 1 && !gameInstance.removeTimeout) {
gameInstance.removeTimeout = setTimeout(function() {
loader.style.display = "none";
}, 2000);
}
}
</script>
<script>
document.addEventListener('DOMContentLoaded', function() {
let buttondiv = document.getElementsByTagName('button');
for (let i = 0; i < buttondiv.length; i++) {
if (buttondiv[i].innerHTML == "OK") {
buttondiv[i].click();
}
}
setTimeout(function() {
let buttonok = document.getElementsByTagName('button');
for (let i = 0; i < buttondiv.length; i++) {
if (buttonok[i].innerHTML == "OK") {
buttonok[i].click();
}
}
}, 1000);
});
</script>
<script src="themes/geometrydashlite.io/rs/js/jquery-3.4.1.min.js"></script>
<script>
function ToggleInfo() {
if ($('button.hide-main-panel').children('i')[0].textContent != 'Info') {
$("div.main-panel").css('width', '0px');
$("div.main-panel-ads").css('display', 'none');
$("div.main-panel-content").css('display', 'none');
$('button.hide-main-panel').children('i').html('Info');
console.log('Info');
} else {
$("div.main-panel").css('width', $("div.main-panel").css('max-width'));
$("div.main-panel-ads").css('display', 'block');
$("div.main-panel-content").css('display', 'block');
$('button.hide-main-panel').children('i').html('>>');
console.log('>>');
}
}
function ShowInfo() {
$("div.main-panel").css('width', $("div.main-panel").css('max-width'));
$("div.main-panel-ads").css('display', 'block');
$("div.main-panel-content").css('display', 'block');
$('button.hide-main-panel').children('i').html('>>');
}
function HideInfo() {
$("div.main-panel").css('width', '0px');
$("div.main-panel-ads").css('display', 'none');
$("div.main-panel-content").css('display', 'none');
$('button.hide-main-panel').children('i').html('Info');
}
$('button.hide-main-panel').click(function() {
console.log('a');
ToggleInfo();
});
</script>
</body>
</html>

BIN
gdlite/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1 @@
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji;margin:0}.main-panel{position:absolute;top:0!important;right:0;height:100vh;width:310px;max-width:310px;margin:0;z-index:999;bottom:0;background:#fff;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.main-panel-content{background:#eee;color:#000;text-align:justify;width:100%;overflow-y:auto;height:100vh}.main-panel-content::-webkit-scrollbar{width:8px;height:5px}.main-panel-content::-webkit-scrollbar-thumb{background:#6c757d;border-radius:10px}.main-panel-content::-webkit-scrollbar-track{background:0 0}.main-panel-content h1{margin-bottom:0;margin-top:5px;font-size:18px;padding:0 5px}.main-panel-content h2{margin-bottom:0;margin-top:5px;font-size:16px;padding:0 5px}.main-panel-content h3{margin-bottom:0;margin-top:5px;font-size:15px;padding:0 5px}.main-panel-content p{margin-bottom:0;margin-top:5px;font-size:15px;padding:0 5px}.main-panel-content ul{margin:0 5px}button.hide-main-panel{position:absolute;background:#eee;width:30px;height:42px;left:-30px;top:35px;padding:2px 0 2px 1px;border-top:1px solid #adb5bd;border-left:1px solid #adb5bd;border-bottom:1px solid #adb5bd;border-top-right-radius:0;border-bottom-right-radius:0;color:#6c757d}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.btn.focus,.btn:focus{outline:0}.btn-top-box{width:100%;text-align:center;position:absolute;top:0;right:0;z-index:10}.btn-top{padding:5px 15px;height:41px;position:absolute;top:0;left:calc(50% - 68px);border-radius:15px;border-top-left-radius:0;border-top-right-radius:0;font-family:arial;font-weight:800;background-color:#840151;border:3px solid #fe53bb;border-top:none;color:#f5d300;box-shadow:0 0 10px 0 #00d4ff;cursor:pointer;text-decoration:none}.btn-top:hover{background-color:#002a33;border:3px solid #00d4ff;border-top:none;color:#00d4ff;box-shadow:0 0 10px 0 #f5d300}.menu-footer{width:100%;height:fit-content;padding:3px 5px;margin-top:35px;background:#eee;overflow:hidden;border-top:solid 1px #aeb5bd}.menu-footer a{float:left;height:fit-content;font-size:13px;margin-right:5px;text-decoration:none;color:#795548}.menu-header{width:fit-content;margin:auto;text-align:center;overflow:hidden}.menu-header-item{text-decoration:none;background-color:#888;margin:5px;color:#fff;border-radius:5px;font-weight:700;display:block;text-transform:capitalize;font-size:18px;padding:0 5px;width:fit-content;float:left;height:33px;line-height:33px;cursor:pointer}.menu-header .hot{background-color:#e91e63}.menu-header .new{background-color:#2196f3}@media(max-width:575px){.main-panel{max-width:310px}.main-panel-ads{width:310px}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long