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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
<!-- Ultimate Game Stash file-->
|
| 5 |
+
<!-- For the regularly updating doc go to https://docs.google.com/document/d/1_FmH3BlSBQI7FGgAQL59-ZPe8eCxs35wel6JUyVaG8Q/ -->
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
<html lang="en-US">
|
| 9 |
+
|
| 10 |
+
<head>
|
| 11 |
+
<base href="https://cdn.jsdelivr.net/gh/bubbls/UGS-Assets@main/gdlite/">
|
| 12 |
+
<title>Geometry Dash</title>
|
| 13 |
+
<link rel="icon" type="image/png" href="https://e3334afd.cf-nate.pages.dev/0/g/geodash/game/splash.png">
|
| 14 |
+
<meta name="description" content="Play Geometry Dash Lite Online For Free on Chromebook, PC, Windows, Desktop in Chrome and modern browsers.">
|
| 15 |
+
<link rel="canonical" href="https://gamecomets.com/game/geometry-dash-lite/" />
|
| 16 |
+
<meta name="robots" content="noindex, nofollow">
|
| 17 |
+
<meta charset="utf-8">
|
| 18 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 19 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 20 |
+
<link rel="stylesheet" href="themes/geometrydashlite.io/rs/css/home.css?v=1">
|
| 21 |
+
</head>
|
| 22 |
+
<meta name="cf-2fa-verify" content="GpoihhhSRQknehLQkEtXM">
|
| 23 |
+
|
| 24 |
+
<body>
|
| 25 |
+
<style>
|
| 26 |
+
html {
|
| 27 |
+
box-sizing: border-box;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
*,
|
| 31 |
+
*:before,
|
| 32 |
+
*:after {
|
| 33 |
+
box-sizing: inherit;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
body {
|
| 37 |
+
margin: 0;
|
| 38 |
+
background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
|
| 39 |
+
overflow: hidden;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
#gameContainer {
|
| 43 |
+
width: 100vw;
|
| 44 |
+
height: 100vh;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
canvas {
|
| 48 |
+
width: 100%;
|
| 49 |
+
height: 100%;
|
| 50 |
+
display: block;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
canvas+* {
|
| 54 |
+
z-index: 2;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.container {
|
| 58 |
+
max-width: 1600px;
|
| 59 |
+
position: relative;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.posImg {
|
| 63 |
+
position: absolute;
|
| 64 |
+
top: 0;
|
| 65 |
+
width: 100%;
|
| 66 |
+
height: 100%;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.logo {
|
| 70 |
+
position: absolute;
|
| 71 |
+
display: block;
|
| 72 |
+
max-width: 100vw;
|
| 73 |
+
max-height: 70vh;
|
| 74 |
+
top: 300px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.pos_progress {
|
| 78 |
+
position: absolute;
|
| 79 |
+
bottom: 15%;
|
| 80 |
+
width: 100%;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.progress {
|
| 84 |
+
margin: 1.5em auto;
|
| 85 |
+
max-width: 436px;
|
| 86 |
+
height: auto;
|
| 87 |
+
display: none;
|
| 88 |
+
position: relative;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.full {
|
| 92 |
+
width: 97%;
|
| 93 |
+
transform-origin: top left;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.box_process {
|
| 97 |
+
width: 100%;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.process {
|
| 101 |
+
width: 98%;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.progress .posfull,
|
| 105 |
+
.progress .posbox {
|
| 106 |
+
position: absolute;
|
| 107 |
+
display: flex;
|
| 108 |
+
align-items: center;
|
| 109 |
+
justify-content: center;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.progress .posfull {
|
| 113 |
+
top: 8px;
|
| 114 |
+
z-index: 1;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.progress .posbox {
|
| 118 |
+
top: 0;
|
| 119 |
+
z-index: 2;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
#loader {
|
| 123 |
+
position: absolute;
|
| 124 |
+
left: 0;
|
| 125 |
+
top: 0;
|
| 126 |
+
width: 100%;
|
| 127 |
+
height: 100%;
|
| 128 |
+
display: flex;
|
| 129 |
+
flex-direction: column;
|
| 130 |
+
align-items: center;
|
| 131 |
+
justify-content: center;
|
| 132 |
+
background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
.pos_spinner {
|
| 136 |
+
position: absolute;
|
| 137 |
+
top: 70%;
|
| 138 |
+
left: 50%;
|
| 139 |
+
transform: translate(-30%, -50%);
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.spinner,
|
| 143 |
+
.spinner:after {
|
| 144 |
+
display: none;
|
| 145 |
+
border-radius: 50%;
|
| 146 |
+
width: 5em;
|
| 147 |
+
height: 5em;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.spinner {
|
| 151 |
+
margin: 10px;
|
| 152 |
+
font-size: 10px;
|
| 153 |
+
position: relative;
|
| 154 |
+
text-indent: -9999em;
|
| 155 |
+
border-top: 1.1em solid rgba(255, 255, 255, 0.2);
|
| 156 |
+
border-right: 1.1em solid rgba(255, 255, 255, 0.2);
|
| 157 |
+
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
|
| 158 |
+
border-left: 1.1em solid #ffffff;
|
| 159 |
+
transform: translateZ(0);
|
| 160 |
+
animation: spinner-spin 1.1s infinite linear;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
@keyframes spinner-spin {
|
| 164 |
+
0% {
|
| 165 |
+
transform: rotate(0deg);
|
| 166 |
+
}
|
| 167 |
+
100% {
|
| 168 |
+
transform: rotate(360deg);
|
| 169 |
+
}
|
| 170 |
+
}
|
| 171 |
+
</style>
|
| 172 |
+
<div id="gameContainer"></div>
|
| 173 |
+
<div id="loader"><img class="logo" src="image/loading.png?v=1">
|
| 174 |
+
<div class="spinner"></div>
|
| 175 |
+
<div class=" pos_progress">
|
| 176 |
+
<div class="progress">
|
| 177 |
+
<div class="posfull"><img class="full" src="image/process_bar_back.png"></div>
|
| 178 |
+
<div class="posbox"><img class="box_process" src="image/process_bar_front.png"></div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
<script>
|
| 182 |
+
window.fileMergerConfig = {
|
| 183 |
+
files: [
|
| 184 |
+
{ name: 'GeometryDashLite.data.unityweb', parts: 2 },
|
| 185 |
+
{ name: 'GeometryDashLite.wasm.code.unityweb', parts: 1 },
|
| 186 |
+
{ name: 'GeometryDashLite.wasm.framework.unityweb', parts: 1 },
|
| 187 |
+
],
|
| 188 |
+
basePath: 'Build/',
|
| 189 |
+
debug: true
|
| 190 |
+
};
|
| 191 |
+
</script>
|
| 192 |
+
<script src="https://cdn.jsdelivr.net/gh/bubbls/UGS-Assets@ac5cdfc0042aca584e72619375b4aca948a9243c/merge.js"></script>
|
| 193 |
+
<script src="Build/UnityLoader.js"></script>
|
| 194 |
+
<script>
|
| 195 |
+
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/GeometryDashLite.json", {
|
| 196 |
+
onProgress: UnityProgress
|
| 197 |
+
});
|
| 198 |
+
|
| 199 |
+
function UnityProgress(gameInstance, progress) {
|
| 200 |
+
if (!gameInstance.Module) {
|
| 201 |
+
return;
|
| 202 |
+
}
|
| 203 |
+
const loader = document.querySelector("#loader");
|
| 204 |
+
if (!gameInstance.progress) {
|
| 205 |
+
const progress = document.querySelector("#loader .progress");
|
| 206 |
+
progress.style.display = "block";
|
| 207 |
+
gameInstance.progress = progress.querySelector(".full");
|
| 208 |
+
loader.querySelector(".spinner").style.display = "none";
|
| 209 |
+
}
|
| 210 |
+
gameInstance.progress.style.transform = `scaleX(${progress})`;
|
| 211 |
+
if (progress === 1 && !gameInstance.removeTimeout) {
|
| 212 |
+
gameInstance.removeTimeout = setTimeout(function() {
|
| 213 |
+
loader.style.display = "none";
|
| 214 |
+
}, 2000);
|
| 215 |
+
}
|
| 216 |
+
}
|
| 217 |
+
</script>
|
| 218 |
+
<script>
|
| 219 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 220 |
+
let buttondiv = document.getElementsByTagName('button');
|
| 221 |
+
for (let i = 0; i < buttondiv.length; i++) {
|
| 222 |
+
if (buttondiv[i].innerHTML == "OK") {
|
| 223 |
+
buttondiv[i].click();
|
| 224 |
+
}
|
| 225 |
+
}
|
| 226 |
+
setTimeout(function() {
|
| 227 |
+
let buttonok = document.getElementsByTagName('button');
|
| 228 |
+
for (let i = 0; i < buttondiv.length; i++) {
|
| 229 |
+
if (buttonok[i].innerHTML == "OK") {
|
| 230 |
+
buttonok[i].click();
|
| 231 |
+
}
|
| 232 |
+
}
|
| 233 |
+
}, 1000);
|
| 234 |
+
});
|
| 235 |
+
</script>
|
| 236 |
+
<script src="themes/geometrydashlite.io/rs/js/jquery-3.4.1.min.js"></script>
|
| 237 |
+
<script>
|
| 238 |
+
function ToggleInfo() {
|
| 239 |
+
if ($('button.hide-main-panel').children('i')[0].textContent != 'Info') {
|
| 240 |
+
$("div.main-panel").css('width', '0px');
|
| 241 |
+
$("div.main-panel-ads").css('display', 'none');
|
| 242 |
+
$("div.main-panel-content").css('display', 'none');
|
| 243 |
+
$('button.hide-main-panel').children('i').html('Info');
|
| 244 |
+
console.log('Info');
|
| 245 |
+
} else {
|
| 246 |
+
$("div.main-panel").css('width', $("div.main-panel").css('max-width'));
|
| 247 |
+
$("div.main-panel-ads").css('display', 'block');
|
| 248 |
+
$("div.main-panel-content").css('display', 'block');
|
| 249 |
+
$('button.hide-main-panel').children('i').html('>>');
|
| 250 |
+
console.log('>>');
|
| 251 |
+
}
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
function ShowInfo() {
|
| 255 |
+
$("div.main-panel").css('width', $("div.main-panel").css('max-width'));
|
| 256 |
+
$("div.main-panel-ads").css('display', 'block');
|
| 257 |
+
$("div.main-panel-content").css('display', 'block');
|
| 258 |
+
$('button.hide-main-panel').children('i').html('>>');
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
function HideInfo() {
|
| 262 |
+
$("div.main-panel").css('width', '0px');
|
| 263 |
+
$("div.main-panel-ads").css('display', 'none');
|
| 264 |
+
$("div.main-panel-content").css('display', 'none');
|
| 265 |
+
$('button.hide-main-panel').children('i').html('Info');
|
| 266 |
+
}
|
| 267 |
+
$('button.hide-main-panel').click(function() {
|
| 268 |
+
console.log('a');
|
| 269 |
+
ToggleInfo();
|
| 270 |
+
});
|
| 271 |
+
</script>
|
| 272 |
+
</body>
|
| 273 |
+
|
| 274 |
+
</html>
|