the treasure

This commit is contained in:
BluePotato102
2024-01-05 16:11:55 -06:00
committed by avsc-sid
parent 9d4d374c3d
commit a41230b9e2
17 changed files with 139 additions and 116 deletions
+28 -23
View File
@@ -58,7 +58,7 @@
"Abandoned": {
"path": "abandoned",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Abandoned 2": {
"path": "abandoned-2",
@@ -68,7 +68,7 @@
"Ages of Conflict": {
"path": "ages-of-conflict",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Age of War": {
"path": "flash/?game=age-of-war",
@@ -618,37 +618,37 @@
"Riddle School": {
"path": "flash/?game=riddle-school",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle School 2": {
"path": "flash/?game=riddle-school-2",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle School 3": {
"path": "flash/?game=riddle-school-3",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle School 4": {
"path": "flash/?game=riddle-school-4",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle School 5": {
"path": "flash/?game=riddle-school-5",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle Transfer": {
"path": "flash/?game=riddle-transfer",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Riddle Transfer 2": {
"path": "flash/?game=riddle-transfer-2",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Rooftop Snipers": {
"path": "rooftop-snipers",
@@ -708,67 +708,67 @@
"Submachine": {
"path": "flash/?game=submachine",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 2": {
"path": "flash/?game=submachine-2",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 3": {
"path": "flash/?game=submachine-3",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 4": {
"path": "flash/?game=submachine-4",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 5": {
"path": "flash/?game=submachine-5",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 6": {
"path": "flash/?game=submachine-6",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 7": {
"path": "flash/?game=submachine-7",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 8": {
"path": "flash/?game=submachine-8",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 9": {
"path": "flash/?game=submachine-9",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 10": {
"path": "flash/?game=submachine-10",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 0": {
"path": "flash/?game=submachine-0",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine 32 Chambers": {
"path": "flash/?game=submachine-32-chambers",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Submachine FLF": {
"path": "flash/?game=submachine-flf",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Sugar Sugar": {
"path": "w-flash/?game=sugar-sugar",
@@ -780,6 +780,11 @@
"aliases": [],
"categories": []
},
"The Treasure": {
"path": "the-treasure",
"aliases": [],
"categories": ["escape"]
},
"There Is No Game": {
"path": "there-is-no-game",
"aliases": [],
@@ -803,7 +808,7 @@
"Trace": {
"path": "trace",
"aliases": [],
"categories": []
"categories": ["escape"]
},
"Tanuki Sunset": {
"path": "tanuki-sunset",
Binary file not shown.
+1 -3
View File
@@ -47,9 +47,7 @@
player.id = "player";
player.style.width = "100%";
player.style.height = "100%";
container.appendChild(player);
//seems to be a path
console.log(game);
container.appendChild(player)
player.load(game);
});
}
File diff suppressed because one or more lines are too long
Binary file not shown.
+13
View File
@@ -0,0 +1,13 @@
{
"companyName": "net.kotorinosu",
"productName": "TREASURE",
"dataUrl": "WebGL.data.unityweb",
"wasmCodeUrl": "WebGL.wasm.code.unityweb",
"wasmFrameworkUrl": "WebGL.wasm.framework.unityweb",
"TOTAL_MEMORY": 268435456,
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
"webglContextAttributes": {"preserveDrawingBuffer": false},
"splashScreenStyle": "Dark",
"backgroundColor": "#000000",
"cacheControl": {"default": "must-revalidate"}
}
Binary file not shown.
@@ -0,0 +1,24 @@
function UnityProgress(gameInstance, progress) {
if (!gameInstance.Module)
return;
if (!gameInstance.logo) {
gameInstance.logo = document.createElement("div");
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle;
gameInstance.container.appendChild(gameInstance.logo);
}
if (!gameInstance.progress) {
gameInstance.progress = document.createElement("div");
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle;
gameInstance.progress.empty = document.createElement("div");
gameInstance.progress.empty.className = "empty";
gameInstance.progress.appendChild(gameInstance.progress.empty);
gameInstance.progress.full = document.createElement("div");
gameInstance.progress.full.className = "full";
gameInstance.progress.appendChild(gameInstance.progress.full);
gameInstance.container.appendChild(gameInstance.progress);
}
gameInstance.progress.full.style.width = (100 * progress) + "%";
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%";
if (progress == 1)
gameInstance.logo.style.display = gameInstance.progress.style.display = "none";
}
@@ -0,0 +1,13 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.20.1</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

+18
View File
@@ -0,0 +1,18 @@
body {margin: 0; padding: 0}.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {position: absolute} .webgl-content, #gameContainer, #unityContainer, canvas {width:100%!important; height: 100%!important}
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}
@@ -0,0 +1,13 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.20.1</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
+25
View File
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>The Treasure</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">The Treasure</div>
</div>
</div>
</body>
</html>
@@ -1,90 +0,0 @@
// https://github.com/gorhill/uBlock/blob/a78bb0f8eb4a9c419bcafedba5a4e843232a16be/src/web_accessible_resources/google-analytics_analytics.js
(function() {
'use strict';
// https://developers.google.com/analytics/devguides/collection/analyticsjs/
const noopfn = function() {
};
//
const Tracker = function() {
};
const p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = noopfn;
//
const w = window;
const gaName = w.GoogleAnalyticsObject || 'ga';
const gaQueue = w[gaName];
// https://github.com/uBlockOrigin/uAssets/pull/4115
const ga = function() {
const len = arguments.length;
if ( len === 0 ) { return; }
const args = Array.from(arguments);
let fn;
let a = args[len-1];
if ( a instanceof Object && a.hitCallback instanceof Function ) {
fn = a.hitCallback;
} else if ( a instanceof Function ) {
fn = ( ) => { a(ga.create()); };
} else {
const pos = args.indexOf('hitCallback');
if ( pos !== -1 && args[pos+1] instanceof Function ) {
fn = args[pos+1];
}
}
if ( fn instanceof Function === false ) { return; }
try {
fn();
} catch (ex) {
}
};
ga.create = function() {
return new Tracker();
};
ga.getByName = function() {
return new Tracker();
};
ga.getAll = function() {
return [new Tracker()];
};
ga.remove = noopfn;
// https://github.com/uBlockOrigin/uAssets/issues/2107
ga.loaded = true;
w[gaName] = ga;
// https://github.com/gorhill/uBlock/issues/3075
const dl = w.dataLayer;
if ( dl instanceof Object ) {
if ( dl.hide instanceof Object && typeof dl.hide.end === 'function' ) {
dl.hide.end();
dl.hide.end = ()=>{};
}
if ( typeof dl.push === 'function' ) {
const doCallback = function(item) {
if ( item instanceof Object === false ) { return; }
if ( typeof item.eventCallback !== 'function' ) { return; }
setTimeout(item.eventCallback, 1);
item.eventCallback = ()=>{};
};
dl.push = new Proxy(dl.push, {
apply: function(target, thisArg, args) {
doCallback(args[0]);
return Reflect.apply(target, thisArg, args);
}
});
if ( Array.isArray(dl) ) {
const q = dl.slice();
for ( const item of q ) {
doCallback(item);
}
}
}
}
// empty ga queue
if ( gaQueue instanceof Function && Array.isArray(gaQueue.q) ) {
const q = gaQueue.q.slice();
gaQueue.q.length = 0;
for ( const entry of q ) {
ga(...entry);
}
}
})();