Add files using upload-large-folder tool
Browse filesFiles changed (20)
- filestorage/gd/badicecream/index.htmlAdded+166
- filestorage/gd/badicecream/poki.jsAdded
- filestorage/gd/circusatos-trust-me-i-got-this/index.htmlAdded+17
- filestorage/gd/crazychicken3d/index.audio.position.worklet.jsAdded+69
- filestorage/gd/crazychicken3d/index.audio.worklet.jsAdded+213
- filestorage/gd/crazychicken3d/index.htmlAdded+147
- filestorage/gd/crazychicken3d/index.jsAdded
- filestorage/gd/crazychicken3d/main.jsAdded+47
- filestorage/gd/crazychicken3d/style.cssAdded+90
- filestorage/gd/dino-bros/index.htmlAdded+1
- filestorage/gd/happy-sheepies/audio-worklet.jsAdded+11
- filestorage/gd/happy-sheepies/index.htmlAdded+932
- filestorage/gd/happy-sheepies/runner.jsAdded
- filestorage/gd/late-metro-drive/index.htmlAdded+151
- filestorage/gd/motox3m3/index.htmlAdded+35
- filestorage/gd/tanuki-sunset/index.htmlAdded+25
- filestorage/gd/the_deadseat/The Deadseat.audio.position.worklet.jsAdded+69
- filestorage/gd/the_deadseat/The Deadseat.audio.worklet.jsAdded+213
- filestorage/gd/the_deadseat/The Deadseat.htmlAdded+204
- filestorage/gd/the_deadseat/The Deadseat.jsAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166<!DOCTYPE html><html> <head>
<meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="#382C2A" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>IXL - Dashboard</title> <script src="/js/all.min.js"></script> <script src="poki.js"></script> <script type="text/javascript" src="./js/loader.js"></script> <script type="text/javascript" src="./js/virtualJoystickSkinMod.js"></script> <script type="text/javascript" src="./preloader/nitromePreloader.js"></script> <style> * { margin: 0; padding: 0; }
canvas { outline: none; }
html, body, #container { margin: 0; overflow: hidden; width: 100%; height: 100%; background-color: #9badbe; }
#splash { position: absolute; visibility: hidden; z-index: 10; }
#splash__image { position: absolute; background-size: contain; background-position: center; background-repeat: no-repeat; background-image: url("assets/badicecream_splash.jpg"); visibility: visible; transition: opacity 0.5s; z-index: 10; }
#progress__root { position: absolute; }
#progress__line { width: 0; height: 100%; transition: all 0.5s; } </style> </head>
<body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<div id="splash__image"> <div id="progress__root"> <div id="progress__line"></div> </div> </div>
<script> window.addEventListener("load", () => { PokiSDK.setDebugTouchOverlayController(true);
PokiSDK.init() .then(() => { // successfully initialized onPokiInitComplete(false); }) .catch(() => { // successfully initialized but the user has adblock onPokiInitComplete(true); }); let config;
config = { key: "bic1", title: "BadIceCream 1", filename: "BadIceCream1_sdk", pokiSDK: true, debugPoki: false, showFPS: false, debug: false, splash: "assets/badicecream_splash.jpg", start: null, width: 550, height: 550, x: 0, y: 0, w: "100%", h: "100%", stageScaleMode: null, stageAlign: null, progressParserWeigth: 1, progress: { direction: "lr", back: "#35809e", line: "#070bff", rect: [0.25, 0.65, 0.5, 0.03], }, box2dVersion: "none", skipFramesOfScene: null, buttonPokiSDKActions: null, retryButtonIDS: null, retryButtonAction: null, actionOnStop: null, actionWhenRetryButtonEncountered: null, binary: [ { name: "BadIceCream1_sdk", path: "assets/BadIceCream1_sdk.swf", size: 1937690, resourceType: "GAME", }, ], runtime: "js/BadIceCream.js", };
PokiSDK.setDebug(config.debugPoki);
Loader.init(config);
let onPokiInitComplete = (adBlocked) => { PokiSDK.adBlocked = adBlocked; PokiSDK.gameLoadingStart();
Loader.runGame( (fill) => { PokiSDK.gameLoadingProgress({ percentageDone: fill, kbLoaded: 0, kbTotal: 0, fileNameLoaded: "", filesLoaded: 0, filesTotal: 0, }); window.nitromePreloaderSetProgress(fill / 1.0); }, (instance) => { PokiSDK.gameLoadingFinished(); window.nitromePreloaderSetComplete(); } ); }; window.nitromePreloaderInit("bad-ice-cream"); }); </script> </body></html>1234567891011121314151617<!DOCTYPE html>
<html lang="en-us"><head><meta charset="utf-8"/><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Unity WebGL Player | Trust Me I Got This</title><script src="Build/UnityLoader.js"></script><script> UnityLoader.instantiate("unityContainer", "Build/TrustMeIGotThis.json"); </script></head><body><div id="unityContainer" style="width: 600px; height: 600px; margin: auto"></div></body></html>
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869/**************************************************************************//* godot.audio.position.worklet.js *//**************************************************************************//* This file is part of: *//* GODOT ENGINE *//* https://godotengine.org *//**************************************************************************//* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). *//* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. *//* *//* Permission is hereby granted, free of charge, to any person obtaining *//* a copy of this software and associated documentation files (the *//* "Software"), to deal in the Software without restriction, including *//* without limitation the rights to use, copy, modify, merge, publish, *//* distribute, sublicense, and/or sell copies of the Software, and to *//* permit persons to whom the Software is furnished to do so, subject to *//* the following conditions: *//* *//* The above copyright notice and this permission notice shall be *//* included in all copies or substantial portions of the Software. *//* *//* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *//* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *//* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *//* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *//* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *//* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *//* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *//**************************************************************************/
const POST_THRESHOLD_S = 0.1;
class GodotPositionReportingProcessor extends AudioWorkletProcessor { constructor(...args) { super(...args); this.lastPostTime = currentTime; this.position = 0; this.ended = false;
this.port.onmessage = (event) => { if (event?.data?.type === 'ended') { this.ended = true; } }; }
process(inputs, _outputs, _parameters) { if (this.ended) { return false; }
if (inputs.length > 0) { const input = inputs[0]; if (input.length > 0) { this.position += input[0].length; } }
// Posting messages is expensive. Let's limit the number of posts. if (currentTime - this.lastPostTime > POST_THRESHOLD_S) { this.lastPostTime = currentTime; this.port.postMessage({ type: 'position', data: this.position }); }
return true; }}
registerProcessor('godot-position-reporting-processor', GodotPositionReportingProcessor);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213/**************************************************************************//* audio.worklet.js *//**************************************************************************//* This file is part of: *//* GODOT ENGINE *//* https://godotengine.org *//**************************************************************************//* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). *//* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. *//* *//* Permission is hereby granted, free of charge, to any person obtaining *//* a copy of this software and associated documentation files (the *//* "Software"), to deal in the Software without restriction, including *//* without limitation the rights to use, copy, modify, merge, publish, *//* distribute, sublicense, and/or sell copies of the Software, and to *//* permit persons to whom the Software is furnished to do so, subject to *//* the following conditions: *//* *//* The above copyright notice and this permission notice shall be *//* included in all copies or substantial portions of the Software. *//* *//* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *//* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *//* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *//* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *//* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *//* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *//* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *//**************************************************************************/
class RingBuffer { constructor(p_buffer, p_state, p_threads) { this.buffer = p_buffer; this.avail = p_state; this.threads = p_threads; this.rpos = 0; this.wpos = 0; }
data_left() { return this.threads ? Atomics.load(this.avail, 0) : this.avail; }
space_left() { return this.buffer.length - this.data_left(); }
read(output) { const size = this.buffer.length; let from = 0; let to_write = output.length; if (this.rpos + to_write > size) { const high = size - this.rpos; output.set(this.buffer.subarray(this.rpos, size)); from = high; to_write -= high; this.rpos = 0; } if (to_write) { output.set(this.buffer.subarray(this.rpos, this.rpos + to_write), from); } this.rpos += to_write; if (this.threads) { Atomics.add(this.avail, 0, -output.length); Atomics.notify(this.avail, 0); } else { this.avail -= output.length; } }
write(p_buffer) { const to_write = p_buffer.length; const mw = this.buffer.length - this.wpos; if (mw >= to_write) { this.buffer.set(p_buffer, this.wpos); this.wpos += to_write; if (mw === to_write) { this.wpos = 0; } } else { const high = p_buffer.subarray(0, mw); const low = p_buffer.subarray(mw); this.buffer.set(high, this.wpos); this.buffer.set(low); this.wpos = low.length; } if (this.threads) { Atomics.add(this.avail, 0, to_write); Atomics.notify(this.avail, 0); } else { this.avail += to_write; } }}
class GodotProcessor extends AudioWorkletProcessor { constructor() { super(); this.threads = false; this.running = true; this.lock = null; this.notifier = null; this.output = null; this.output_buffer = new Float32Array(); this.input = null; this.input_buffer = new Float32Array(); this.port.onmessage = (event) => { const cmd = event.data['cmd']; const data = event.data['data']; this.parse_message(cmd, data); }; }
process_notify() { if (this.notifier) { Atomics.add(this.notifier, 0, 1); Atomics.notify(this.notifier, 0); } }
parse_message(p_cmd, p_data) { if (p_cmd === 'start' && p_data) { const state = p_data[0]; let idx = 0; this.threads = true; this.lock = state.subarray(idx, ++idx); this.notifier = state.subarray(idx, ++idx); const avail_in = state.subarray(idx, ++idx); const avail_out = state.subarray(idx, ++idx); this.input = new RingBuffer(p_data[1], avail_in, true); this.output = new RingBuffer(p_data[2], avail_out, true); } else if (p_cmd === 'stop') { this.running = false; this.output = null; this.input = null; this.lock = null; this.notifier = null; } else if (p_cmd === 'start_nothreads') { this.output = new RingBuffer(p_data[0], p_data[0].length, false); } else if (p_cmd === 'chunk') { this.output.write(p_data); } }
static array_has_data(arr) { return arr.length && arr[0].length && arr[0][0].length; }
process(inputs, outputs, parameters) { if (!this.running) { return false; // Stop processing. } if (this.output === null) { return true; // Not ready yet, keep processing. } const process_input = GodotProcessor.array_has_data(inputs); if (process_input) { const input = inputs[0]; const chunk = input[0].length * input.length; if (this.input_buffer.length !== chunk) { this.input_buffer = new Float32Array(chunk); } if (!this.threads) { GodotProcessor.write_input(this.input_buffer, input); this.port.postMessage({ 'cmd': 'input', 'data': this.input_buffer }); } else if (this.input.space_left() >= chunk) { GodotProcessor.write_input(this.input_buffer, input); this.input.write(this.input_buffer); } else { // this.port.postMessage('Input buffer is full! Skipping input frame.'); // Uncomment this line to debug input buffer. } } const process_output = GodotProcessor.array_has_data(outputs); if (process_output) { const output = outputs[0]; const chunk = output[0].length * output.length; if (this.output_buffer.length !== chunk) { this.output_buffer = new Float32Array(chunk); } if (this.output.data_left() >= chunk) { this.output.read(this.output_buffer); GodotProcessor.write_output(output, this.output_buffer); if (!this.threads) { this.port.postMessage({ 'cmd': 'read', 'data': chunk }); } } else { // this.port.postMessage('Output buffer has not enough frames! Skipping output frame.'); // Uncomment this line to debug output buffer. } } this.process_notify(); return true; }
static write_output(dest, source) { const channels = dest.length; for (let ch = 0; ch < channels; ch++) { for (let sample = 0; sample < dest[ch].length; sample++) { dest[ch][sample] = source[sample * channels + ch]; } } }
static write_input(dest, source) { const channels = source.length; for (let ch = 0; ch < channels; ch++) { for (let sample = 0; sample < source[ch].length; sample++) { dest[sample * channels + ch] = source[ch][sample]; } } }}
registerProcessor('godot-processor', GodotProcessor);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147<!DOCTYPE html><html lang="en">
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"> <title>IXL - Dashboard</title> <link rel="stylesheet" href="style.css"> <link id="-gd-engine-icon" rel="icon" type="image/png" href="index.icon.png" /> <link rel="apple-touch-icon" href="index.apple-touch-icon.png" /></head>
<body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<script src="main.js"></script> <div id="loading-text" style="color: white; font-family: cursive; font-size: 48px; text-align: center; margin-top: 20px;">LOADING...</div> <canvas id="canvas"> Your browser does not support the canvas tag. </canvas> <noscript> Your browser does not support JavaScript. </noscript> <div id="status"> <img id="status-splash" class="show-image--true fullsize--true use-filter--true" src="index.png" alt=""> <progress id="status-progress"></progress> <div id="status-notice"></div> </div> <script src="index.js"></script> <script> const GODOT_CONFIG = { "args": [], "canvasResizePolicy": 2, "ensureCrossOriginIsolationHeaders": true, "executable": "index", "experimentalVK": false, "fileSizes": { "index.pck": 38662480, "index.wasm": 43699190 }, "focusCanvas": true, "gdextensionLibs": [] }; const GODOT_THREADS_ENABLED = false; const engine = new Engine(GODOT_CONFIG);
function run() { const loadingText = document.getElementById('loading-text'); const statusOverlay = document.getElementById('status'); const statusProgress = document.getElementById('status-progress'); const statusNotice = document.getElementById('status-notice'); loadingText.remove(); let initializing = true; let statusMode = '';
function setStatusMode(mode) { if (statusMode === mode || !initializing) { return; } if (mode === 'hidden') { statusOverlay.remove(); initializing = false; return; } statusOverlay.style.visibility = 'visible'; statusProgress.style.display = mode === 'progress' ? 'block' : 'none'; statusNotice.style.display = mode === 'notice' ? 'block' : 'none'; statusMode = mode; }
function setStatusNotice(text) { while (statusNotice.lastChild) { statusNotice.removeChild(statusNotice.lastChild); } const lines = text.split('\n'); lines.forEach((line) => { statusNotice.appendChild(document.createTextNode(line)); statusNotice.appendChild(document.createElement('br')); }); }
function displayFailureNotice(err) { console.error(err); if (err instanceof Error) { setStatusNotice(err.message); } else if (typeof err === 'string') { setStatusNotice(err); } else { setStatusNotice('An unknown error occurred.'); } setStatusMode('notice'); initializing = false; } const missing = Engine.getMissingFeatures({ threads: GODOT_THREADS_ENABLED, }); if (missing.length !== 0) { if (GODOT_CONFIG['serviceWorker'] && GODOT_CONFIG['ensureCrossOriginIsolationHeaders'] && 'serviceWorker' in navigator) { let serviceWorkerRegistrationPromise; try { serviceWorkerRegistrationPromise = navigator.serviceWorker.getRegistration(); } catch (err) { serviceWorkerRegistrationPromise = Promise.reject(new Error('Service worker registration failed.')); } // There's a chance that installing the service worker would fix the issue Promise.race([ serviceWorkerRegistrationPromise.then((registration) => { if (registration != null) { return Promise.reject(new Error('Service worker already exists.')); } return registration; }).then(() => engine.installServiceWorker()), // For some reason, `getRegistration()` can stall new Promise((resolve) => { setTimeout(() => resolve(), 2000); }), ]).then(() => { // Reload if there was no error. window.location.reload(); }).catch((err) => { console.error('Error while registering service worker:', err); }); } else { // Display the message as usual const missingMsg = 'Error\nThe following features required to run Godot projects on the Web are missing:\n'; displayFailureNotice(missingMsg + missing.join('\n')); } } else { setStatusMode('progress'); engine.startGame({ 'onProgress': function (current, total) { if (current > 0 && total > 0) { statusProgress.value = current; statusProgress.max = total; } else { statusProgress.removeAttribute('value'); statusProgress.removeAttribute('max'); } }, }).then(() => { setStatusMode('hidden'); }, displayFailureNotice); } }; window.godotRunStart = run; </script></body>
</html>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647const originalFetch = window.fetch;
function mergeFiles(fileParts) { return new Promise((resolve, reject) => { let buffers = [];
function fetchPart(index) { if (index >= fileParts.length) { let mergedBlob = new Blob(buffers); let mergedFileUrl = URL.createObjectURL(mergedBlob); resolve(mergedFileUrl); return; } fetch(fileParts[index]).then((response) => { if (!response.ok) throw new Error("Missing part: " + fileParts[index]); return response.arrayBuffer(); }).then((data) => { buffers.push(data); fetchPart(index + 1); }).catch(reject); } fetchPart(0); });}
function getParts(file, start, end) { let parts = []; for (let i = start; i <= end; i++) { parts.push(file + ".part" + i); } return parts;}Promise.all([ mergeFiles(getParts("index.pck", 1, 2)), mergeFiles(getParts("index.wasm", 1, 3))]).then(([pckUrl, wasmUrl]) => { window.fetch = async function (url, ...args) { if (url.endsWith("index.pck")) { return originalFetch(pckUrl, ...args); } else if (url.endsWith("index.wasm")) { return originalFetch(wasmUrl, ...args); } else { return originalFetch(url, ...args); } }; window.godotRunStart();});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990html,body,#canvas { margin: 0; padding: 0; border: 0;}
body { color: white; background-color: black; overflow: hidden; touch-action: none;}
#canvas { display: block;}
#canvas:focus { outline: none;}
#status,#status-splash,#status-progress { position: absolute; left: 0; right: 0;}
#status,#status-splash { top: 0; bottom: 0;}
#status { background-color: #000000; display: flex; flex-direction: column; justify-content: center; align-items: center; visibility: hidden;}
#status-splash { max-height: 100%; max-width: 100%; margin: auto;}
#status-splash.show-image--false { display: none;}
#status-splash.fullsize--true { height: 100%; width: 100%; object-fit: contain;}
#status-splash.use-filter--false { image-rendering: pixelated;}
#status-progress,#status-notice { display: none;}
#status-progress { bottom: 10%; width: 50%; margin: 0 auto;}
#status-notice { background-color: #5b3943; border-radius: 0.5rem; border: 1px solid #9b3943; color: #e0e0e0; font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif; line-height: 1.3; margin: 0 2rem; overflow: hidden; padding: 1rem; text-align: center; z-index: 1;}1<!DOCTYPE html><html lang="en-us"><head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Dino Bros</title><meta name="description" content=""><meta name="google" content="notranslate"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"><link rel="stylesheet" href="webapp/fancade.css"><link rel="icon" href="webapp/favicon.ico"><script src="./patch/poki-sdk.js"></script></head><body id="body"><div id="modal_parent"><div id="modal_content"><span id="modal_close_button">×</span><div id="store_link_modal_content" class="modal_inner"></div><div id="share_file_modal_content" class="modal_inner"></div></div></div><div id="canvas_border" class="emscripten_border"><div id="play_content" class="middle center"><div class="edge"><div class="box"><div class="black"><img src="webapp/cover.jpg" class="cover"><p class="title">Dino Bros</p><p class="author">Fancade</p></div></div></div><div id="progress_or_play"><progress id="progress" class="loading" value="0" max="100"></progress></div><p class="description"></p></div><canvas class="emscripten" id="canvas" tabindex="-1"></canvas><div id="gradient"></div><div id="webview_content"></div></div><script type="text/javascript" src="webapp/source_min.js" crossorigin="anonymous"></script><script type="text/javascript" src="webapp/index.js" crossorigin="anonymous"></script></body></html>1234567891011registerProcessor('audio-worklet',class extends AudioWorkletProcessor{constructor(){super();this.shouldExit=false;this.port.onmessage=(event)=>{this.shouldExit=event.data;};}Float32ToInt16(n){return(n>0)?n*32767:n*32768;}process(inputs,outputs,parameters){const input=inputs[0];const output=[];if(input[0]!=undefined){for(let i=0;i<input[0].length;++i){const sample=this.Float32ToInt16(input[0][i]);output.push(sample);}this.port.postMessage(output);}return(!this.shouldExit);}});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932<!DOCTYPE html><html lang="en-us"> <head> <base href="https://cdn.jsdelivr.net/gh/genizy/web-port@main/happy-sheepies/"> <meta charset="utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" /> <link rel="icon" type="x-icon" href="favicon.png"> <title>IXL - Dashboard</title> <style> @-webkit-keyframes rotation { from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); } }
@-moz-keyframes rotation { from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); } }
@-o-keyframes rotation { from { -o-transform: rotate(0deg); }
to { -o-transform: rotate(360deg); } }
@keyframes rotation { from { transform: rotate(0deg); }
to { transform: rotate(360deg); } }
html { background: #FFFFFF; }
body { font-family: arial; margin: 0; padding: 0; min-height: 100vh; min-height: -webkit-fill-available; min-height: fill-available; min-height: 100vh; /* Otherwise contents can be covered by an address bar in Safari on iOS 15 */ min-width: 100vw; background: radial-gradient( 56.63% 56.63% at 50% 43.37%, transparent 0%, transparent 100% ); background-color: black; display: flex; flex-direction: column; overflow-x: hidden; place-items: center; }
body.scrollingDisabled { overflow: hidden; }
.emscripten { padding-right: 0; display: block; }
div.emscripten { text-align: center; font-family: "Lucida Console", Monaco, monospace; }
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */ canvas.emscripten { display: none; background-color: black; position: flex; transition: opacity 5s ease-in; -webkit-transition: opacity 5s ease-in; opacity: 0; filter: blur(0) grayscale(0); image-rendering: optimizeSpeed; /* Older versions of FF */ image-rendering: -moz-crisp-edges; /* FF 6.0+ */ image-rendering: -webkit-optimize-contrast; /* Safari */ image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */ image-rendering: pixelated; /* Awesome future-browsers */ -ms-interpolation-mode: nearest-neighbor; /* IE */ }
canvas.active { animation-name: fadeIn; animation-duration: 2s; opacity: 1; }
canvas.paused { animation-name: blur; animation-duration: 0.5s; filter: blur(2px) grayscale(1); }
canvas.unpaused { animation-name: none; }
canvas.animatedSizeTransitions { transition: width 0.3s ease, height 0.3s ease; }
@keyframes fadeIn { 0% { opacity: 0; }
100% { opacity: 1; } }
@keyframes blur { 0% { filter: blur(0) grayscale(0); }
100% { filter: blur(2px) grayscale(1); } }
.spinner { height: 30px; width: 30px;
-webkit-animation: rotation 0.8s linear infinite; -moz-animation: rotation 0.8s linear infinite; -o-animation: rotation 0.8s linear infinite; animation: rotation 0.8s linear infinite;
border: 5px solid #bdff00; border-top: 5px solid #719900; border-radius: 100%; }
#status { display: inline-block; vertical-align: top; font-weight: bold; color: white; }
#progress { width: 250px; height: 10px; -webkit-appearance: none; appearance: none; padding: 5px; }
/* Determines the style of the background of the progress bar */ progress[value]::-webkit-progress-bar { background-color: #8492a6; height: 10px; border-radius: 15px; } /* Determines the style of the completed part of the progress bar */ progress[value]::-webkit-progress-value { background-image: -webkit-linear-gradient(left, #719900, #bdff00); height: 10px; border-radius: 15px; }
div.loading { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; } div.loading > * { padding: 10px; margin: 10px; }
.output-container { text-align: center; margin-top: auto; } .output-button { border: none; width: 200px; height: 25px; margin: 5px; border-radius: 5px; cursor: pointer; background-color: black; color: white; outline-color: #20c20e; outline-style: dashed; font-family: "Lucida Console", Monaco, monospace; }
#output { display: none; height: 200px; background-color: black; color: white; font-family: "Lucida Console", Monaco, monospace; outline: none; border: none; padding: 0; width: 100%; }
#message-container { display: none; min-height: 50px; background-color: rgba(20, 20, 20, 0.5); outline: none; border: none; padding: 0; width: 100%; position: absolute; top: 0; }
#messages { margin-left: 50px; color: white; font-family: "Lucida Console", Monaco, monospace; outline: none; border: none; padding: 0; }
img.qrCode { opacity: 1.0; width: 50%; height: 50%; }
#pauseMenuContainer { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; align-items: center; }
#pauseMenuContainer[hidden] { display: none !important; opacity: 0; }
#pauseMenuBorder { background: linear-gradient(135deg, #FA1E4E, transparent 40%); padding: 1px; border-radius: 4px; clip-path: polygon(10.5px 0, 100% 0, 100% 100%, 0 100%, 0 10.5px); width: 70vw; max-width: 400px; }
#pauseMenu { display: flex; flex-direction: column; padding: 60px 30px 60px 30px; background: linear-gradient(180deg, #2E273F 16.15%, rgba(46, 39, 63, 0.79) 56.25%, #2E273F 91.15%); border-radius: 4px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); animation-name: fadeIn; animation-duration: 0.5s; opacity: 1; }
#pauseMenu button { font-weight: 500; font-size: 17px; color: white; background: #FA1E4E; border: 1px solid #FA1E4E; border-radius: 6px; padding: 12px 24px; margin: 5px 0; -webkit-user-select: none; user-select: none; }
#pauseMenu button#quitButton { background: #FA1E4E40; }
#pauseMenu button:hover { filter: brightness(1.15); }
#pauseMenu button:active { filter: brightness(0.85); }
#pauseMenu button[hidden] { display: none; } </style> </head> <body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex="-1" > </canvas> <div id="pauseMenuContainer" hidden> <div id="pauseMenuBorder"> <div id="pauseMenu"> <button id="resumeButton" onclick="resume()"> Resume </button> <button id="quitButton" onclick="quitIfSupported()"> Quit </button> </div> </div> </div> <div class="loading"> <div class="spinner" id="spinner"></div> <div class="emscripten" id="status">Downloading...</div>
<progress value="0" max="100" id="progress" hidden="1"></progress> </div> <div class="output-container" id="output-container"> </div>
<div id="message-container"> <div id="messages"> </div> </div> <script> // Stub functions to prevent errors if game tries to call ad functions window.adsbygoogle = window.adsbygoogle || []; const adBreak = adConfig = function(o) { console.log("Ad functionality disabled"); // Call adBreakDone callback if provided to prevent game hanging if (o && o.adBreakDone && typeof o.adBreakDone === 'function') { setTimeout(function() { o.adBreakDone({breakType: 'disabled', breakName: o.name || 'unknown'}); }, 0); } } </script>
<script type="text/javascript"> // Background Color Changer Function function changecolor(el) { document.body.style.backgroundColor = el.value; } const CHANGE_ASPECT_RATIO = true; // Main Page Elements var bodyElement = document.getElementsByTagName("body")[0]; var statusElement = document.getElementById("status"); var progressElement = document.getElementById("progress"); var spinnerElement = document.getElementById("spinner"); var canvasElement = document.getElementById("canvas"); var outputElement = document.getElementById("output"); var outputContainerElement = document.getElementById("output-container"); var qrElement = document.getElementById("QRCode"); var qr2Element = document.getElementById("QR2Code"); var qrButton = document.getElementById("QRButton"); var qr2Button = document.getElementById("QR2Button"); var pauseMenu = document.getElementById("pauseMenuContainer"); var resumeButton = document.getElementById("resumeButton"); var quitButton = document.getElementById("quitButton");
const messageContainerElement = document.getElementById("message-container"); const messagesElement = document.getElementById("messages"); let rollbackMessages = [];
let clearRollbackMessagesTimeoutId = -1; const showRollbackMessage = function (message) { let messages = ""; rollbackMessages.push(message); rollbackMessages.forEach(m => messages += "<p>" + m + "</p>");
messagesElement.innerHTML = messages; messageContainerElement.style.display = 'block';
if (clearRollbackMessagesTimeoutId === -1) { clearTimeout(clearRollbackMessagesTimeoutId); } clearRollbackMessagesTimeoutId = setTimeout(clearRollbackMessages, 5000); };
const clearRollbackMessages = function () { clearRollbackMessagesTimeoutId = -1; rollbackMessages = []; messageContainerElement.style.display = 'none'; }; // for displaying contents of console to display as a single line of text // stopload is set to 0, as to initialize it var loadprogress = 0; var startingHeight, startingWidth; var startingAspect;
// Font injection function to fix missing Scribble font JSON files function injectMissingFonts() { const fontTemplate = { "name": "", "size": 32, "bold": false, "italic": false, "charset": 0, "first": 32, "last": 126, "sdfSpread": 8, "ascenderOffset": 0, "ascender": 26, "lineHeight": 32, "glyphs": { "32": {"x": 0, "y": 0, "w": 8, "h": 32, "character": 32, "shift": 8, "offset": 0}, "65": {"x": 0, "y": 0, "w": 16, "h": 32, "character": 65, "shift": 16, "offset": 0}, "97": {"x": 0, "y": 0, "w": 14, "h": 32, "character": 97, "shift": 14, "offset": 0} }, "kerningPairs": [] };
const fontNames = [ "spr_noto_black_32", "spr_noto_sc_black_32", "spr_noto_tc_black_32", "spr_noto_bold_32", "spr_noto_sc_bold_32", "spr_noto_tc_bold_32", "spr_noto_medium_32", "spr_noto_sc_medium_32", "spr_noto_tc_medium_32" ];
try { // Create _savedata directory if it doesn't exist if (typeof FS !== 'undefined' && FS.analyzePath) { const savedataPath = '/_savedata'; if (!FS.analyzePath(savedataPath).exists) { FS.mkdir(savedataPath); console.log('Created _savedata directory'); }
fontNames.forEach(function(fontName) { const fontData = Object.assign({}, fontTemplate, {name: fontName}); const fontJson = JSON.stringify(fontData); const fontPath = savedataPath + '/' + fontName + '.json';
try { FS.writeFile(fontPath, fontJson); console.log('Injected font file: ' + fontPath); } catch (e) { console.error('Failed to write font file ' + fontName + ':', e); } }); } else { console.warn('FS not available yet for font injection'); } } catch (e) { console.error('Font injection error:', e); } }
var Module = { preRun: [injectMissingFonts], postRun: [], print: (function () { var element = document.getElementById("output"); if (element) element.value = ""; // clear browser cache return function (text) { // for displaying contents of console to display as a single line of text // if loading has started if (text === "Starting WAD") { // tells if statement below to display ALL loading strings loadprogress += 1; } // if loading has started if (loadprogress === 1) { // allow console to be displayed as text on-screen Module.setStatus(text); } // if game has started // greater than or equal to just in case else if (loadprogress >= 2) { // then set load text to nothing Module.setStatus(""); } // back to normal shit if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(" "); // for normal console console.log(text); if (text === "Entering main loop.") { // It seems that this text ensures game is loaded. ensureAspectRatio(); // below are custom // stops loading text on game run loadprogress += 1; // This Forces 1920x1080 aspect ratio on game startup canvas.width = 1920; canvas.height = 1080;
// TRUE END of custom shit } if (element) { element.value += text + "\n"; element.scrollTop = element.scrollHeight; // focus on bottom } }; })(), printErr: function (text) { if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(" "); console.error(text); }, canvas: (function () { var canvas = document.getElementById("canvas");
return canvas; })(), setStatus: function (text) { if (!Module.setStatus.last) Module.setStatus.last = { time: Date.now(), text: "" }; if (text === Module.setStatus.last.text) return; var m = text.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/); var now = Date.now(); if (m && now - Module.setStatus.last.time < 30) return; // if this is a progress update, skip it if too soon Module.setStatus.last.time = now; Module.setStatus.last.text = text; if (m) { text = m[1]; progressElement.value = parseInt(m[2]) * 100; progressElement.max = parseInt(m[4]) * 100; progressElement.hidden = false; spinnerElement.hidden = false; } else { progressElement.value = null; progressElement.max = null; progressElement.hidden = true;
// If there are no status text, we are finished and can display // the canvas and hide the spinner if (!text) { spinnerElement.style.display = "none"; canvasElement.style.display = "block"; } } statusElement.innerHTML = text; }, totalDependencies: 0, monitorRunDependencies: function (left) { this.totalDependencies = Math.max(this.totalDependencies, left); Module.setStatus( left ? "Preparing... (" + (this.totalDependencies - left) + "/" + this.totalDependencies + ")" : "All downloads complete." ); }, }; Module.setStatus("Downloading..."); window.onerror = function (event) { // TODO: do not warn on ok events like simulating an infinite loop or exitStatus Module.setStatus("Exception thrown, see JavaScript console"); spinnerElement.style.display = "none"; Module.setStatus = function (text) { if (text) Module.printErr("[post-exception status] " + text); }; };
// Route URL GET parameters to argc+argv if (typeof window === "object") { Module['arguments'] = window.location.search.substr(1).trim().split('&'); // If no args were passed arguments = [''], in which case kill the single empty string. if (!Module['arguments'][0]) { Module['arguments'] = []; } } // All Button Functions // Stock Toggle Console Function function toggleConsole() { var isShown = outputElement.style.display === "flex"; if (isShown) { outputElement.style.display = "none"; outputElement.scrollIntoView(false); } else { outputElement.style.display = "flex"; outputElement.scrollIntoView(true); } } // Go To Github Function function togglegithub() { window.open("https://github.com/burnedpopcorn/Pizza-Tower-1.1.0-Web-Port", '_blank').focus(); } // Clear Site Cache Function function toggleclear_site_cache() { // Trigger Choice Popup if (confirm("This Will Clear Site Cache\nThis will ALSO Clear ALL SAVES\nONLY do this if the Site has recently been Updated\nand if you are experiencing crashes relating to texture loading\nContinue?")) { // User clicked OK // Clear All IndexedDB Databases (async () => { const dbs = await window.indexedDB.databases(); dbs.forEach(db => { window.indexedDB.deleteDatabase(db.name) }); })(); // alert("All Site Cache Has been Cleared!\nPlease reload the Page"); } else { // User clicked Cancel // Do nothing } }
// Enable FPS Counter Button var stopfps = 0; function toggleFPS() { // to stop it from making multiple instances after 1 has already been made stopfps += 1 // if pressed ONLY once if (stopfps === 1) { window.location.href = "javascript:(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='https://mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})()" } // so it can't go crazy high, but can't be activated again if (stopfps >= 5) { stopfps = 2; } } // Go To Website of Web Ports Function function togglewebports() { window.open("https://burnedwebsite.vercel.app/projects/", '_blank').focus(); } // Join Discord Function function togglejoin_discord() { window.open("https://discord.gg/3dPTpruHhc", '_blank').focus(); } // End of Button Functions
var g_pWadLoadCallback = undefined; function setWadLoadCallback( _wadLoadCallback ) { g_pWadLoadCallback = _wadLoadCallback; }
var g_pAddAsyncMethod = -1;
function setAddAsyncMethod( asyncMethod ) { g_pAddAsyncMethod = asyncMethod; }
var g_pJSExceptionHandler = undefined;
function setJSExceptionHandler( exceptionHandler ) { if (typeof exceptionHandler == "function") { g_pJSExceptionHandler = exceptionHandler; } // end if } // end setJSExceptionHandler
function hasJSExceptionHandler() { return (g_pJSExceptionHandler != undefined) && (typeof g_pJSExceptionHandler == "function"); } // end hasJSExceptionHandler
function doJSExceptionHandler( exceptionJSON ) { if (typeof g_pJSExceptionHandler == "function") { var exception = JSON.parse( exceptionJSON ); g_pJSExceptionHandler( exception ); } // end if } // end doJSExceptionHandler
// Get Files function manifestFiles() { return [ "runner.data","runner.js","runner.wasm","audio-worklet.js","audiogroup1.dat","audiogroup2.dat","game.unx" ].join( ";"); }
// Verify Files function manifestFilesMD5() { return [ "452f5dc2826b50ffa9fcf8ec1cd36361","edcf0c89d589245126d07dadb6044b7d","9f633f39dbb36c38de7b385cf214d4c5","e8f1e8db8cf996f8715a6f2164c2e44e","ace9ecf9a12241bb0e8b942a6fdf3900","16c337bfc09cfa812b546ea43d940fc6","70ac874bd20a2260566333a947fe22dd" ]; }
function onFirstFrameRendered() { //console.log("First frame rendered!"); }
function onGameSetWindowSize(width,height) { if (startingHeight === undefined && startingWidth === undefined) { console.log("Initial window size set to width: " + width + ", height: " + height);
startingHeight = height; startingWidth = width; startingAspect = startingWidth / startingHeight; } }
// Trigger Ads function triggerAd(adId, _callback_beforeAd, _callback_afterAd, _callback_adDismissed, _callback_adViewed, _callback_adbreakDone) { // need to take a copy of the RValues represented var pRValueCopy = triggerAdPrefix( _callback_beforeAd, _callback_afterAd, _callback_adDismissed, _callback_adViewed, _callback_adbreakDone ); var pCallbackBeforeAd = pRValueCopy + (0*16); var pCallbackAfterAd = pRValueCopy + (1*16); var pCallbackAdDismissed = pRValueCopy + (2*16); var pCallbackAdViewed = pRValueCopy + (3*16); var pCallbackAdBreakDone = pRValueCopy + (4*16);
adBreak({ "type": "reward", // The type of this placement "name": adId, // A descriptive name for this placement
"beforeAd": () => { // Prepare for the ad. Mute and pause the game flow console.log("beforeAd"); // trigger _callback_beforeAd to game doGMLCallback( pCallbackBeforeAd, { id:adId } ); }, "afterAd" : () => { // Resume the game and re-enable sound console.log("afterAd"); // trigger _callback_afterAd to game doGMLCallback( pCallbackAfterAd, { id:adId } ); }, "beforeReward": (showAdFn) => { // Show reward prompt (call showAdFn() if clicked) console.log("beforeReward"); showAdFn(); // Setup native prompt to indicate ad will load // Will not be setup by dev so this UX controlled by GXC }, "adDismissed": () => { // Player dismissed the ad before it finished console.log("adDismissed"); // trigger _callback_adDismissed to game doGMLCallback( pCallbackAdDismissed, { id:adId } ); }, "adViewed": () => { // Player watched the ad–give them the reward. console.log("adViewed"); // trigger _callback_adViewed to game doGMLCallback( pCallbackAdViewed, { id:adId } ); }, "adBreakDone": (placementInfo) => { // Always called (if provided) even if an ad didn't show console.log("adBreakDone"); // trigger _callback_adBreakDone to game doGMLCallback( pCallbackAdBreakDone, { id:adId } ); triggerAdPostfix( pRValueCopy ); }, }); }
function ensureAspectRatio() { if (canvasElement === undefined) { return; }
if (!CHANGE_ASPECT_RATIO) { return; } if (startingHeight === undefined && startingWidth === undefined) { return; }
canvasElement.classList.add("active");
const maxWidth = window.innerWidth; const maxHeight = window.innerHeight; var newHeight, newWidth;
// Find the limiting dimension. var heightQuotient = startingHeight / maxHeight; var widthQuotient = startingWidth / maxWidth;
if (heightQuotient > widthQuotient) { // Max out on height. newHeight = maxHeight; newWidth = newHeight * startingAspect; } else { // Max out on width. newWidth = maxWidth; newHeight = newWidth / startingAspect; }
canvasElement.style.height = newHeight + "px"; canvasElement.style.width = newWidth + "px"; } // To Pause when it detects the Tab is inactive function pause() { // Don't change the name - GX Mobile calls it when the app becomes inactive. if (!canvasElement.classList.contains("active")) { // Wait for the canvas to load. return } GM_pause(); pauseMenu.hidden = false; canvasElement.classList.add("paused"); } // To Resume when it detects the Tab is Active function resume() { GM_unpause(); pauseMenu.hidden = true; canvasElement.classList.remove("paused"); canvasElement.classList.add("unpaused"); enterFullscreenIfSupported(); lockOrientationIfSupported(); }
function quitIfSupported() { if (window.oprt && window.oprt.closeTab) { /* GX Mobile API */ window.oprt.closeTab(); } else if (window.chrome && window.chrome.runtime && window.chrome.runtime.sendMessage) { window.chrome.runtime.sendMessage('mpojjmidmnpcpopbebmecmjdkdbgdeke', { command: 'closeTab' }) } }
function enterFullscreenIfSupported() { if (!window.oprt || !window.oprt.enterFullscreen) { /* GX Mobile API */ return; }
window.oprt.enterFullscreen(); let viewStatus = GM_get_view_status(); viewStatus.fullscreen = true; GM_set_view_status(viewStatus); }
function lockOrientationIfSupported() { if (!window.oprt || !window.oprt.lockPortraitOrientation || !window.oprt.lockLandscapeOrientation) { /* GX Mobile API */ return; }
let viewStatus = GM_get_view_status(); if (viewStatus.landscape === true && viewStatus.portrait === false) { window.oprt.lockPortraitOrientation(); } else if (viewStatus.landscape === false && viewStatus.portrait === true) { window.oprt.lockPortraitOrientation(); } } // uh, shit that no one cares about const resizeObserver = new ResizeObserver(() => { window.requestAnimationFrame(ensureAspectRatio); setTimeout(() => window.requestAnimationFrame(ensureAspectRatio), 100); }); resizeObserver.observe(document.body); // Disable Scrolling on Mobile if (/Android|iPhone|iPod/i.test(navigator.userAgent)) { bodyElement.className = "scrollingDisabled"; canvasElement.classList.add("animatedSizeTransitions"); outputContainerElement.hidden = true; }
document.addEventListener("visibilitychange", (event) => { if (document.visibilityState != "visible") { pause(); } });
window.addEventListener("load", (event) => { if ((!window.oprt || !window.oprt.enterFullscreen) && (!window.chrome || !window.chrome.runtime || !window.chrome.runtime.sendMessage)) { quitButton.hidden = true; } });
setWadLoadCallback(() => { enterFullscreenIfSupported(); lockOrientationIfSupported(); }); </script> <script async type="text/javascript" src="runner.js"></script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151<!DOCTYPE html><html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>IXL - Dashboard</title> <link rel="shortcut icon" href="TemplateData/favicon.ico"> <link rel="stylesheet" href="TemplateData/style.css"> <style> body { margin: 0; padding: 0; overflow: hidden; } #unity-container { width: 100vw !important; height: 100vh !important; } #unity-canvas { width: 100% !important; height: 100% !important; } </style> </head> <body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<div id="unity-container" class="unity-desktop"> <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas> <div id="unity-loading-bar"> <div id="unity-logo"></div> <div id="unity-progress-bar-empty"> <div id="unity-progress-bar-full"></div> </div> </div> <div id="unity-warning"> </div> <div id="unity-footer"> <div id="unity-webgl-logo"></div> <div id="unity-fullscreen-button"></div> <div id="unity-build-title">Late Metro Drive</div> </div> </div> <script>
var container = document.querySelector("#unity-container"); var canvas = document.querySelector("#unity-canvas"); var loadingBar = document.querySelector("#unity-loading-bar"); var progressBarFull = document.querySelector("#unity-progress-bar-full"); var fullscreenButton = document.querySelector("#unity-fullscreen-button"); var warningBanner = document.querySelector("#unity-warning");
// Shows a temporary message banner/ribbon for a few seconds, or // a permanent error message on top of the canvas if type=='error'. // If type=='warning', a yellow highlight color is used. // Modify or remove this function to customize the visually presented // way that non-critical warnings and error messages are presented to the // user. function unityShowBanner(msg, type) { function updateBannerVisibility() { warningBanner.style.display = warningBanner.children.length ? 'block' : 'none'; } var div = document.createElement('div'); div.innerHTML = msg; warningBanner.appendChild(div); if (type == 'error') div.style = 'background: red; padding: 10px;'; else { if (type == 'warning') div.style = 'background: yellow; padding: 10px;'; setTimeout(function() { warningBanner.removeChild(div); updateBannerVisibility(); }, 5000); } updateBannerVisibility(); }
var buildUrl = "Build"; var loaderUrl = buildUrl + "/web.loader.js"; var config = { dataUrl: buildUrl + "/web.data.gz", frameworkUrl: buildUrl + "/web.framework.js.gz", codeUrl: buildUrl + "/web.wasm.gz", streamingAssetsUrl: "StreamingAssets", companyName: "BubuWorks", productName: "Late Metro Drive", productVersion: "1.0", showBanner: unityShowBanner, };
// By default, Unity keeps WebGL canvas render target size matched with // the DOM size of the canvas element (scaled by window.devicePixelRatio) // Set this to false if you want to decouple this synchronization from // happening inside the engine, and you would instead like to size up // the canvas DOM size and WebGL render target sizes yourself. // config.matchWebGLToCanvasSize = false;
// If you would like all file writes inside Unity Application.persistentDataPath // directory to automatically persist so that the contents are remembered when // the user revisits the site the next time, uncomment the following line: // config.autoSyncPersistentDataPath = true; // This autosyncing is currently not the default behavior to avoid regressing // existing user projects that might rely on the earlier manual // JS_FileSystem_Sync() behavior, but in future Unity version, this will be // expected to change.
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) { // Mobile device style: fill the whole browser client area with the game canvas:
var meta = document.createElement('meta'); meta.name = 'viewport'; meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes'; document.getElementsByTagName('head')[0].appendChild(meta); container.className = "unity-mobile"; canvas.className = "unity-mobile";
// To lower canvas resolution on mobile devices to gain some // performance, uncomment the following line: // config.devicePixelRatio = 1;
} else { // Desktop style: Render the game canvas to fill the entire viewport:
canvas.style.width = "100%"; canvas.style.height = "100%"; }
loadingBar.style.display = "block";
var script = document.createElement("script"); script.src = loaderUrl; script.onload = () => { createUnityInstance(canvas, config, (progress) => { progressBarFull.style.width = 100 * progress + "%"; }).then((unityInstance) => { loadingBar.style.display = "none"; fullscreenButton.onclick = () => { unityInstance.SetFullscreen(1); }; }).catch((message) => { alert(message); }); };
document.body.appendChild(script);
</script> </body></html>1234567891011121314151617181920212223242526272829303132333435<html lang="en" class="wf-cfcrackbold-n4-active wf-allerdisplay-n4-active wf-impact-n4-active wf-active"><head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"> <link rel="stylesheet" href="assets/css/app.css" type="text/css"> <title> Moto X3M 3 </title><meta name="robots" content="noindex,nofollow" /><meta name="description" content="Moto X3M is an online bike racing game. Play MotoX3M Unblocked on TBG95"></head>
<body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<div id="content" style="display: block;"></div> <div id="orientation" style="display: none;"></div> <div id="loader" style="display: none;">Loading ...</div>
<script type="text/javascript" src="assets/lib/nape.min.js"> var nape = "nape.min.js"; </script> <script type="text/javascript" src="assets/lib/jquery-3.1.1.min.js"></script> <script type="text/javascript" src="assets/lib/easeljs-0.8.2.combined.js"></script> <script type="text/javascript" src="assets/lib/bluebird.min.js"></script> <script type="text/javascript" src="assets/lib/phaser.min.js"></script> <script type="text/javascript" src="assets/lib/phaser-cachebuster.min.js"></script> <script type="text/javascript" src="assets/lib/phaser-super-storage.min.js"></script> <script type="text/javascript" src="assets/lib/dragonBones.min.js"></script> <script src="dist/bundle.js"></script></body></html>12345678910111213141516171819202122232425<!DOCTYPE html><html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Unity WebGL Player | Tanuki Sunset</title> <link rel="shortcut icon" href="TemplateData/favicon.ico"> <link rel="stylesheet" href="TemplateData/style.css"> <script src="TemplateData/UnityProgress.js"></script> <script src="Build/UnityLoader.js"></script> <script> var gameInstance = UnityLoader.instantiate("gameContainer", "Build/WebGL.json", {onProgress: UnityProgress}); </script> </head> <body> <div class="webgl-content"> <div id="gameContainer" style="width: 960px; height: 600px"></div> <div class="footer"> <div class="webgl-logo"></div> <div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> <div class="title">Tanuki Sunset</div> </div> </div> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869/**************************************************************************//* godot.audio.position.worklet.js *//**************************************************************************//* This file is part of: *//* GODOT ENGINE *//* https://godotengine.org *//**************************************************************************//* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). *//* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. *//* *//* Permission is hereby granted, free of charge, to any person obtaining *//* a copy of this software and associated documentation files (the *//* "Software"), to deal in the Software without restriction, including *//* without limitation the rights to use, copy, modify, merge, publish, *//* distribute, sublicense, and/or sell copies of the Software, and to *//* permit persons to whom the Software is furnished to do so, subject to *//* the following conditions: *//* *//* The above copyright notice and this permission notice shall be *//* included in all copies or substantial portions of the Software. *//* *//* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *//* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *//* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *//* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *//* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *//* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *//* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *//**************************************************************************/
const POST_THRESHOLD_S = 0.1;
class GodotPositionReportingProcessor extends AudioWorkletProcessor { constructor(...args) { super(...args); this.lastPostTime = currentTime; this.position = 0; this.ended = false;
this.port.onmessage = (event) => { if (event?.data?.type === 'ended') { this.ended = true; } }; }
process(inputs, _outputs, _parameters) { if (this.ended) { return false; }
if (inputs.length > 0) { const input = inputs[0]; if (input.length > 0) { this.position += input[0].length; } }
// Posting messages is expensive. Let's limit the number of posts. if (currentTime - this.lastPostTime > POST_THRESHOLD_S) { this.lastPostTime = currentTime; this.port.postMessage({ type: 'position', data: this.position }); }
return true; }}
registerProcessor('godot-position-reporting-processor', GodotPositionReportingProcessor);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213/**************************************************************************//* audio.worklet.js *//**************************************************************************//* This file is part of: *//* GODOT ENGINE *//* https://godotengine.org *//**************************************************************************//* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). *//* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. *//* *//* Permission is hereby granted, free of charge, to any person obtaining *//* a copy of this software and associated documentation files (the *//* "Software"), to deal in the Software without restriction, including *//* without limitation the rights to use, copy, modify, merge, publish, *//* distribute, sublicense, and/or sell copies of the Software, and to *//* permit persons to whom the Software is furnished to do so, subject to *//* the following conditions: *//* *//* The above copyright notice and this permission notice shall be *//* included in all copies or substantial portions of the Software. *//* *//* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *//* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *//* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *//* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *//* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *//* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *//* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *//**************************************************************************/
class RingBuffer { constructor(p_buffer, p_state, p_threads) { this.buffer = p_buffer; this.avail = p_state; this.threads = p_threads; this.rpos = 0; this.wpos = 0; }
data_left() { return this.threads ? Atomics.load(this.avail, 0) : this.avail; }
space_left() { return this.buffer.length - this.data_left(); }
read(output) { const size = this.buffer.length; let from = 0; let to_write = output.length; if (this.rpos + to_write > size) { const high = size - this.rpos; output.set(this.buffer.subarray(this.rpos, size)); from = high; to_write -= high; this.rpos = 0; } if (to_write) { output.set(this.buffer.subarray(this.rpos, this.rpos + to_write), from); } this.rpos += to_write; if (this.threads) { Atomics.add(this.avail, 0, -output.length); Atomics.notify(this.avail, 0); } else { this.avail -= output.length; } }
write(p_buffer) { const to_write = p_buffer.length; const mw = this.buffer.length - this.wpos; if (mw >= to_write) { this.buffer.set(p_buffer, this.wpos); this.wpos += to_write; if (mw === to_write) { this.wpos = 0; } } else { const high = p_buffer.subarray(0, mw); const low = p_buffer.subarray(mw); this.buffer.set(high, this.wpos); this.buffer.set(low); this.wpos = low.length; } if (this.threads) { Atomics.add(this.avail, 0, to_write); Atomics.notify(this.avail, 0); } else { this.avail += to_write; } }}
class GodotProcessor extends AudioWorkletProcessor { constructor() { super(); this.threads = false; this.running = true; this.lock = null; this.notifier = null; this.output = null; this.output_buffer = new Float32Array(); this.input = null; this.input_buffer = new Float32Array(); this.port.onmessage = (event) => { const cmd = event.data['cmd']; const data = event.data['data']; this.parse_message(cmd, data); }; }
process_notify() { if (this.notifier) { Atomics.add(this.notifier, 0, 1); Atomics.notify(this.notifier, 0); } }
parse_message(p_cmd, p_data) { if (p_cmd === 'start' && p_data) { const state = p_data[0]; let idx = 0; this.threads = true; this.lock = state.subarray(idx, ++idx); this.notifier = state.subarray(idx, ++idx); const avail_in = state.subarray(idx, ++idx); const avail_out = state.subarray(idx, ++idx); this.input = new RingBuffer(p_data[1], avail_in, true); this.output = new RingBuffer(p_data[2], avail_out, true); } else if (p_cmd === 'stop') { this.running = false; this.output = null; this.input = null; this.lock = null; this.notifier = null; } else if (p_cmd === 'start_nothreads') { this.output = new RingBuffer(p_data[0], p_data[0].length, false); } else if (p_cmd === 'chunk') { this.output.write(p_data); } }
static array_has_data(arr) { return arr.length && arr[0].length && arr[0][0].length; }
process(inputs, outputs, parameters) { if (!this.running) { return false; // Stop processing. } if (this.output === null) { return true; // Not ready yet, keep processing. } const process_input = GodotProcessor.array_has_data(inputs); if (process_input) { const input = inputs[0]; const chunk = input[0].length * input.length; if (this.input_buffer.length !== chunk) { this.input_buffer = new Float32Array(chunk); } if (!this.threads) { GodotProcessor.write_input(this.input_buffer, input); this.port.postMessage({ 'cmd': 'input', 'data': this.input_buffer }); } else if (this.input.space_left() >= chunk) { GodotProcessor.write_input(this.input_buffer, input); this.input.write(this.input_buffer); } else { // this.port.postMessage('Input buffer is full! Skipping input frame.'); // Uncomment this line to debug input buffer. } } const process_output = GodotProcessor.array_has_data(outputs); if (process_output) { const output = outputs[0]; const chunk = output[0].length * output.length; if (this.output_buffer.length !== chunk) { this.output_buffer = new Float32Array(chunk); } if (this.output.data_left() >= chunk) { this.output.read(this.output_buffer); GodotProcessor.write_output(output, this.output_buffer); if (!this.threads) { this.port.postMessage({ 'cmd': 'read', 'data': chunk }); } } else { // this.port.postMessage('Output buffer has not enough frames! Skipping output frame.'); // Uncomment this line to debug output buffer. } } this.process_notify(); return true; }
static write_output(dest, source) { const channels = dest.length; for (let ch = 0; ch < channels; ch++) { for (let sample = 0; sample < dest[ch].length; sample++) { dest[ch][sample] = source[sample * channels + ch]; } } }
static write_input(dest, source) { const channels = source.length; for (let ch = 0; ch < channels; ch++) { for (let sample = 0; sample < source[ch].length; sample++) { dest[sample * channels + ch] = source[ch][sample]; } } }}
registerProcessor('godot-processor', GodotProcessor);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"> <title>IXL - Dashboard</title> <style>html, body, #canvas { margin: 0; padding: 0; border: 0;}body { color: white; background-color: black; overflow: hidden; touch-action: none;}#canvas { display: block;}#canvas:focus { outline: none;}#status, #status-splash, #status-progress { position: absolute; left: 0; right: 0;}#status, #status-splash { top: 0; bottom: 0;}#status { background-color: #000000; display: flex; flex-direction: column; justify-content: center; align-items: center; visibility: hidden; z-index: 10;}#status-splash { max-height: 100%; max-width: 100%; margin: auto;}#status-splash.show-image--false { display: none;}#status-splash.fullsize--true { height: 100%; width: 100%; object-fit: contain;}#status-splash.use-filter--false { image-rendering: pixelated;}#status-progress, #status-notice { display: none;}#status-progress { bottom: 10%; width: 50%; margin: 0 auto;}#status-notice { background-color: #5b3943; border-radius: 0.5rem; border: 1px solid #9b3943; color: #e0e0e0; font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif; line-height: 1.3; margin: 0 2rem; overflow: hidden; padding: 1rem; text-align: center; z-index: 1;} </style> <link id="-gd-engine-icon" rel="icon" type="image/png" href="The Deadseat.icon.png" /> <link rel="apple-touch-icon" href="The Deadseat.apple-touch-icon.png"/></head><body>
<script src="/assets/js/notifications.js"></script><script src="/assets/js/game-save-sync.js"></script>
<canvas id="canvas"> Your browser does not support the canvas tag. </canvas> <noscript> Your browser does not support JavaScript. </noscript> <div id="status"> <img id="status-splash" class="show-image--false fullsize--false use-filter--false" src="The Deadseat.png" alt=""> <progress id="status-progress"></progress> <div id="status-notice"></div> </div> <script src="The Deadseat.js"></script> <script>const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"The Deadseat","experimentalVK":false,"fileSizes":{"The Deadseat.pck":72522080,"The Deadseat.wasm":52126319},"focusCanvas":true,"gdextensionLibs":[]};const GODOT_THREADS_ENABLED = false;const engine = new Engine(GODOT_CONFIG);
(function () { const statusOverlay = document.getElementById('status'); const statusProgress = document.getElementById('status-progress'); const statusNotice = document.getElementById('status-notice');
let initializing = true; let statusMode = '';
function setStatusMode(mode) { if (statusMode === mode || !initializing) { return; } if (mode === 'hidden') { statusOverlay.remove(); initializing = false; return; } statusOverlay.style.visibility = 'visible'; statusProgress.style.display = mode === 'progress' ? 'block' : 'none'; statusNotice.style.display = mode === 'notice' ? 'block' : 'none'; statusMode = mode; }
function setStatusNotice(text) { while (statusNotice.lastChild) { statusNotice.removeChild(statusNotice.lastChild); } const lines = text.split('\n'); lines.forEach((line) => { statusNotice.appendChild(document.createTextNode(line)); statusNotice.appendChild(document.createElement('br')); }); }
function displayFailureNotice(err) { console.error(err); if (err instanceof Error) { setStatusNotice(err.message); } else if (typeof err === 'string') { setStatusNotice(err); } else { setStatusNotice('An unknown error occurred.'); } setStatusMode('notice'); initializing = false; }
const missing = Engine.getMissingFeatures({ threads: GODOT_THREADS_ENABLED, });
if (missing.length !== 0) { if (GODOT_CONFIG['serviceWorker'] && GODOT_CONFIG['ensureCrossOriginIsolationHeaders'] && 'serviceWorker' in navigator) { let serviceWorkerRegistrationPromise; try { serviceWorkerRegistrationPromise = navigator.serviceWorker.getRegistration(); } catch (err) { serviceWorkerRegistrationPromise = Promise.reject(new Error('Service worker registration failed.')); } Promise.race([ serviceWorkerRegistrationPromise.then((registration) => { if (registration != null) { return Promise.reject(new Error('Service worker already exists.')); } return registration; }).then(() => engine.installServiceWorker()), new Promise((resolve) => { setTimeout(() => resolve(), 2000); }), ]).then(() => { window.location.reload(); }).catch((err) => { console.error('Error while registering service worker:', err); }); } else { const missingMsg = 'Error\nThe following features required to run Godot projects on the Web are missing:\n'; displayFailureNotice(missingMsg + missing.join('\n')); } } else { setStatusMode('progress'); engine.startGame({ 'onProgress': function (current, total) { if (current > 0 && total > 0) { statusProgress.value = current; statusProgress.max = total; } else { statusProgress.removeAttribute('value'); statusProgress.removeAttribute('max'); } }, }).then(() => { setStatusMode('hidden'); }, displayFailureNotice); }}()); </script></body></html>
filestorage/gd/badicecream/index.htmlAdded+166
filestorage/gd/badicecream/poki.jsAdded
filestorage/gd/circusatos-trust-me-i-got-this/index.htmlAdded+17
filestorage/gd/crazychicken3d/index.audio.position.worklet.jsAdded+69
filestorage/gd/crazychicken3d/index.audio.worklet.jsAdded+213
filestorage/gd/crazychicken3d/index.htmlAdded+147
filestorage/gd/crazychicken3d/index.jsAdded
filestorage/gd/crazychicken3d/main.jsAdded+47
filestorage/gd/crazychicken3d/style.cssAdded+90
filestorage/gd/dino-bros/index.htmlAdded+1
filestorage/gd/happy-sheepies/audio-worklet.jsAdded+11
filestorage/gd/happy-sheepies/index.htmlAdded+932
filestorage/gd/happy-sheepies/runner.jsAdded
filestorage/gd/late-metro-drive/index.htmlAdded+151
filestorage/gd/motox3m3/index.htmlAdded+35
filestorage/gd/tanuki-sunset/index.htmlAdded+25
filestorage/gd/the_deadseat/The Deadseat.audio.position.worklet.jsAdded+69
filestorage/gd/the_deadseat/The Deadseat.audio.worklet.jsAdded+213
filestorage/gd/the_deadseat/The Deadseat.htmlAdded+204
filestorage/gd/the_deadseat/The Deadseat.jsAdded