alexrsworld 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Apps/codeeditor.html +163 -0
- package/Games/WAflash/vex.html +1 -1
- package/Games/emulated/GBA/mariokartsupercircuit.html +30 -0
- package/Games/emulated/GBA/mother.html +30 -0
- package/Games/emulated/GBA/mother3.html +30 -0
- package/Games/emulated/GBA/pacmanworld.html +30 -0
- package/Games/emulated/GBA/sonicadvance.html +30 -0
- package/Games/emulated/GBA/sonicadvance2.html +30 -0
- package/Games/emulated/GBA/sonicadvance3.html +30 -0
- package/Games/emulated/GBA/superstarsaga.html +30 -0
- package/Games/emulated/N64/majorasmask.html +31 -0
- package/Games/emulated/N64/ocarinaoftime.html +31 -0
- package/Games/emulated/SNES/linktothepast.html +31 -0
- package/Games/ruffle/bcubed.html +40 -0
- package/Games/ruffle/hobo.html +41 -0
- package/Games/ruffle/maxdirtbike.html +40 -0
- package/Games/ruffle/raftwars2.html +40 -0
- package/Games/ruffle/useboxmen.html +40 -0
- package/Games/ruffle/whackyourboss.html +40 -0
- package/Games/ruffle/whackyourex.html +40 -0
- package/Games/singlefile.html +2322 -54
- package/Games/standalone/amongus.html +1 -0
- package/Games/standalone/bendy.html +141 -0
- package/Games/standalone/chess.html +204 -0
- package/Games/standalone/gdremastered.html +247 -0
- package/Games/standalone/highwayracer3D.html +50 -0
- package/Games/standalone/omnomrun.html +45 -0
- package/Games/standalone/retrobowlcollege.html +0 -65
- package/Games/standalone/slope2player.html +76 -0
- package/Games/standalone/soniccd.html +229 -0
- package/Games/standalone/station141.html +25 -8
- package/Games/standalone/tanukisunset.html +19 -0
- package/Games/standalone/ultrakill.html +108 -0
- package/games.json +101 -1
- package/iframetrue.json +2622 -0
- package/index.html +107 -25
- package/package.json +1 -1
- package/singlefilegames.json +7 -0
- package/singleiframetrue.json +2581 -0
- package/start.html +25 -0
- package/test.html +132 -0
- package/port.html +0 -2372
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mamayaya1/game@f3a882424a8f28d07bdf456b251d889725c4c1e4/projects/among-us/style.css" /> </head> <body> <script> window.addEventListener("keydown", function(e) { if(["Space","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].indexOf(e.code) > -1) { e.preventDefault(); } }, false); </script> <noscript> <div id="notSupportedWrap"> <h2 id="notSupportedTitle">This content requires JavaScript</h2> <p class="notSupportedMessage">JavaScript appears to be disabled. Please enable it to view this content. Thanks! :)</p> </div> </noscript> <script src="https://cdn.jsdelivr.net/gh/mamayaya1/game@f3a882424a8f28d07bdf456b251d889725c4c1e4/projects/among-us/scripts/supportcheck.js"></script> <script src="https://cdn.jsdelivr.net/gh/mamayaya1/game@f3a882424a8f28d07bdf456b251d889725c4c1e4/projects/among-us/scripts/offlineclient.js" type="module"></script> <script src="https://cdn.jsdelivr.net/gh/gahaden/ags@4f1a2b8755bcbf67ba043a7eca6c2e05d0b5bfe5/main.js" type="module"></script> <script src="https://cdn.jsdelivr.net/gh/mamayaya1/game@f3a882424a8f28d07bdf456b251d889725c4c1e4/projects/among-us/scripts/register-sw.js" type="module"></script>
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
|
|
4
|
+
<!-- GN Math Version -->
|
|
5
|
+
|
|
6
|
+
<head>
|
|
7
|
+
<base href="https://cdn.jsdelivr.net/gh/genizy/web-port@main/bendy/">
|
|
8
|
+
<meta charset="utf-8">
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
10
|
+
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
11
|
+
<title>Bendy & the Ink Machine</title>
|
|
12
|
+
<link rel="shortcut icon" href="/new logo.png">
|
|
13
|
+
<style>
|
|
14
|
+
* {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
border: 0;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
body {
|
|
22
|
+
background: #000;
|
|
23
|
+
position: fixed;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.webgl-content {
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#unityContainer {
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.footer {
|
|
41
|
+
position: absolute;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
width: 100%;
|
|
44
|
+
text-align: center;
|
|
45
|
+
padding: 10px 0;
|
|
46
|
+
background: rgba(0, 0, 0, 0.5);
|
|
47
|
+
z-index: 100;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.fullscreen {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
display: inline-block;
|
|
53
|
+
width: 24px;
|
|
54
|
+
height: 24px;
|
|
55
|
+
background: url('TemplateData/fullscreen.png') no-repeat center;
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
<script src="TemplateData/UnityProgress.js"></script>
|
|
59
|
+
<script src="Build/UnityLoader.js?1"></script>
|
|
60
|
+
<script>
|
|
61
|
+
function mergeFiles(fileParts) {
|
|
62
|
+
return new Promise((resolve, reject) => {
|
|
63
|
+
let buffers = [];
|
|
64
|
+
|
|
65
|
+
function fetchPart(index) {
|
|
66
|
+
if (index >= fileParts.length) {
|
|
67
|
+
let mergedBlob = new Blob(buffers);
|
|
68
|
+
let mergedFileUrl = URL.createObjectURL(mergedBlob);
|
|
69
|
+
resolve(mergedFileUrl);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
fetch(fileParts[index]).then((response) => response.arrayBuffer()).then((data) => {
|
|
73
|
+
buffers.push(data);
|
|
74
|
+
fetchPart(index + 1);
|
|
75
|
+
}).catch(reject);
|
|
76
|
+
}
|
|
77
|
+
fetchPart(0);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function getParts(file, start, end) {
|
|
82
|
+
let parts = [];
|
|
83
|
+
for (let i = start; i <= end; i++) {
|
|
84
|
+
parts.push(file + ".part" + i);
|
|
85
|
+
}
|
|
86
|
+
return parts;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function resizeUnityContainer() {
|
|
90
|
+
var container = document.getElementById("unityContainer");
|
|
91
|
+
container.style.width = window.innerWidth + "px";
|
|
92
|
+
container.style.height = window.innerHeight + "px";
|
|
93
|
+
}
|
|
94
|
+
Promise.all([
|
|
95
|
+
mergeFiles(getParts("Build/BATIM.data.unityweb", 1, 7))
|
|
96
|
+
]).then(([dataUrl]) => {
|
|
97
|
+
window.dataUrll = dataUrl;
|
|
98
|
+
var json = {
|
|
99
|
+
"companyName": "DefaultCompany",
|
|
100
|
+
"productName": "OldCh2RippedTwo",
|
|
101
|
+
"productVersion": "1.0",
|
|
102
|
+
"dataUrl": "BATIM.data.unityweb",
|
|
103
|
+
"wasmCodeUrl": "BATIM.wasm.code.unityweb",
|
|
104
|
+
"wasmFrameworkUrl": "BATIM.wasm.framework.unityweb",
|
|
105
|
+
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
|
|
106
|
+
"webglContextAttributes": {
|
|
107
|
+
"preserveDrawingBuffer": false
|
|
108
|
+
},
|
|
109
|
+
"splashScreenStyle": "Dark",
|
|
110
|
+
"backgroundColor": "#231F20",
|
|
111
|
+
"developmentBuild": false,
|
|
112
|
+
"multithreading": false,
|
|
113
|
+
"unityVersion": "2019.4.17f1"
|
|
114
|
+
};
|
|
115
|
+
let blob = new Blob([JSON.stringify(json)], {
|
|
116
|
+
type: 'application/json'
|
|
117
|
+
});
|
|
118
|
+
let blobUrl = URL.createObjectURL(blob);
|
|
119
|
+
window.addEventListener('resize', resizeUnityContainer);
|
|
120
|
+
UnityLoader.instantiate("unityContainer", json, {
|
|
121
|
+
onProgress: UnityProgress,
|
|
122
|
+
url: blobUrl,
|
|
123
|
+
Module: {
|
|
124
|
+
onRuntimeInitialized: function () {
|
|
125
|
+
resizeUnityContainer();
|
|
126
|
+
document.querySelector("#loading-text").remove();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
</script>
|
|
132
|
+
</head>
|
|
133
|
+
|
|
134
|
+
<body>
|
|
135
|
+
<div class="webgl-content">
|
|
136
|
+
<div id="loading-text" style="color: white; font-size: 48px; font-family: cursive; text-align: center; margin-top: 20px;">LOADING...</div>
|
|
137
|
+
<div id="unityContainer"></div>
|
|
138
|
+
</div>
|
|
139
|
+
</body>
|
|
140
|
+
|
|
141
|
+
</html>
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Chess</title>
|
|
5
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/minichess/">
|
|
6
|
+
<link rel="icon" href="/new logo.png">
|
|
7
|
+
<link rel="stylesheet" href="css/reset.css" type="text/css">
|
|
8
|
+
<link rel="stylesheet" href="css/main.css" type="text/css">
|
|
9
|
+
<link rel="stylesheet" href="css/ios_fullscreen.css" type="text/css">
|
|
10
|
+
<link rel="stylesheet" href="css/orientation_utils.css" type="text/css">
|
|
11
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
12
|
+
|
|
13
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
|
|
14
|
+
<meta name="msapplication-tap-highlight" content="no"/>
|
|
15
|
+
|
|
16
|
+
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
|
|
17
|
+
<script type="text/javascript" src="js/createjs.min.js"></script>
|
|
18
|
+
<script type="text/javascript" src="js/howler.min.js"></script>
|
|
19
|
+
<script type="text/javascript" src="js/screenfull.js"></script>
|
|
20
|
+
<script type="text/javascript" src="js/platform.js"></script>
|
|
21
|
+
<script type="text/javascript" src="js/ios_fullscreen.js"></script>
|
|
22
|
+
<script type="text/javascript" src="js/CAreYouSurePanel.js"></script>
|
|
23
|
+
<script type="text/javascript" src="js/TreeModel.js"></script>
|
|
24
|
+
<script type="text/javascript" src="js/CTreeDecision.js"></script>
|
|
25
|
+
<script type="text/javascript" src="js/ctl_utils.js"></script>
|
|
26
|
+
<script type="text/javascript" src="js/sprite_lib.js"></script>
|
|
27
|
+
<script type="text/javascript" src="js/settings.js"></script>
|
|
28
|
+
<script type="text/javascript" src="js/CLang.js"></script>
|
|
29
|
+
<script type="text/javascript" src="js/CPreloader.js"></script>
|
|
30
|
+
<script type="text/javascript" src="js/CCreditsPanel.js"></script>
|
|
31
|
+
<script type="text/javascript" src="js/CMain.js"></script>
|
|
32
|
+
<script type="text/javascript" src="js/CTextButton.js"></script>
|
|
33
|
+
<script type="text/javascript" src="js/CToggle.js"></script>
|
|
34
|
+
<script type="text/javascript" src="js/CGfxButton.js"></script>
|
|
35
|
+
<script type="text/javascript" src="js/CMessage.js"></script>
|
|
36
|
+
<script type="text/javascript" src="js/CMenu.js"></script>
|
|
37
|
+
<script type="text/javascript" src="js/CModeMenu.js"></script>
|
|
38
|
+
<script type="text/javascript" src="js/CGame.js"></script>
|
|
39
|
+
<script type="text/javascript" src="js/CInterface.js"></script>
|
|
40
|
+
<script type="text/javascript" src="js/CInfoTurn.js"></script>
|
|
41
|
+
<script type="text/javascript" src="js/CThinking.js"></script>
|
|
42
|
+
<script type="text/javascript" src="js/CEndPanel.js"></script>
|
|
43
|
+
<script type="text/javascript" src="js/CCell.js"></script>
|
|
44
|
+
<script type="text/javascript" src="js/CPiece.js"></script>
|
|
45
|
+
<script type="text/javascript" src="js/CMovesController.js"></script>
|
|
46
|
+
<script type="text/javascript" src="js/CBoardStateController.js"></script>
|
|
47
|
+
<script type="text/javascript" src="js/CCopiedCell.js"></script>
|
|
48
|
+
<script type="text/javascript" src="js/CPromoPanel.js"></script>
|
|
49
|
+
<script type="text/javascript" src="js/CAI.js"></script>
|
|
50
|
+
<script type="text/javascript" src="js/CMovesControllerFaster.js"></script>
|
|
51
|
+
|
|
52
|
+
<style>
|
|
53
|
+
/* The Modal (background) */
|
|
54
|
+
.modal {
|
|
55
|
+
display: none; /* Hidden by default */
|
|
56
|
+
position: fixed; /* Stay in place */
|
|
57
|
+
z-index: 1; /* Sit on top */
|
|
58
|
+
padding-top: 20px; /* Location of the box */
|
|
59
|
+
left: 0;
|
|
60
|
+
top: 0;
|
|
61
|
+
width: 100%; /* Full width */
|
|
62
|
+
height: 100%; /* Full height */
|
|
63
|
+
overflow: auto; /* Enable scroll if needed */
|
|
64
|
+
background-color: rgb(0,0,0); /* Fallback color */
|
|
65
|
+
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
|
66
|
+
}
|
|
67
|
+
/* Modal Content */
|
|
68
|
+
.modal-content {
|
|
69
|
+
background-color: #ffffff;
|
|
70
|
+
margin: auto;
|
|
71
|
+
padding: 2px;
|
|
72
|
+
border: 1px solid #888;
|
|
73
|
+
border-radius: 10px;
|
|
74
|
+
width: 275px;
|
|
75
|
+
}
|
|
76
|
+
.extbutton {
|
|
77
|
+
background-color: #094b00;
|
|
78
|
+
border: none;
|
|
79
|
+
border-radius: 10px;
|
|
80
|
+
color: white;
|
|
81
|
+
padding: 10px 15px;
|
|
82
|
+
text-align: center;
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
display: inline-block;
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
}
|
|
87
|
+
.shrbutton {
|
|
88
|
+
background-color: #0061bb;
|
|
89
|
+
border: none;
|
|
90
|
+
border-radius: 10px;
|
|
91
|
+
color: white;
|
|
92
|
+
padding: 10px 15px;
|
|
93
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
94
|
+
text-align: center;
|
|
95
|
+
text-decoration: none;
|
|
96
|
+
font-weight: bold;
|
|
97
|
+
display: inline-block;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
}
|
|
100
|
+
.twitter-share-button {
|
|
101
|
+
margin-top: 10px;
|
|
102
|
+
background-color: #0084ff;
|
|
103
|
+
border: none;
|
|
104
|
+
border-radius: 10px;
|
|
105
|
+
color: white;
|
|
106
|
+
padding: 10px 15px;
|
|
107
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
108
|
+
text-align: center;
|
|
109
|
+
text-decoration: none;
|
|
110
|
+
font-weight: bold;
|
|
111
|
+
display: inline-block;
|
|
112
|
+
font-size: 14px;
|
|
113
|
+
}
|
|
114
|
+
.wincenter {
|
|
115
|
+
display: block;
|
|
116
|
+
margin-left: auto;
|
|
117
|
+
margin-right: auto;
|
|
118
|
+
}
|
|
119
|
+
</style>
|
|
120
|
+
|
|
121
|
+
</head>
|
|
122
|
+
<body ondragstart="return false;" ondrop="return false;" >
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<div style="position: fixed; background-color: transparent; top: 0px; left: 0px; width: 100%; height: 100%"></div>
|
|
126
|
+
<script>
|
|
127
|
+
|
|
128
|
+
// Get the modal
|
|
129
|
+
var modal = document.getElementById('myModal');
|
|
130
|
+
|
|
131
|
+
$(document).ready(function(){
|
|
132
|
+
var oMain = new CMain({
|
|
133
|
+
|
|
134
|
+
show_score: true,
|
|
135
|
+
start_score: 5000,
|
|
136
|
+
score_decrease_per_second: 10,
|
|
137
|
+
|
|
138
|
+
check_orientation: false,
|
|
139
|
+
fullscreen: true
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
$(oMain).on("start_session", function(evt) {
|
|
144
|
+
if(getParamValue('ctl-arcade') === "true"){
|
|
145
|
+
parent.__ctlArcadeStartSession();
|
|
146
|
+
}
|
|
147
|
+
//...ADD YOUR CODE HERE EVENTUALLY
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
$(oMain).on("end_session", function(evt) {
|
|
151
|
+
if(getParamValue('ctl-arcade') === "true"){
|
|
152
|
+
parent.__ctlArcadeEndSession();
|
|
153
|
+
}
|
|
154
|
+
modal.style.display = "block";
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
$(oMain).on("save_score", function(evt,iWinner, iBlackTime, iWhiteTime, s_iGameType, iWhiteScore) {
|
|
158
|
+
// iWinner:
|
|
159
|
+
// -1 IS DRAW
|
|
160
|
+
//0 WHITE WINS
|
|
161
|
+
//1 BLACK WINS
|
|
162
|
+
|
|
163
|
+
if(getParamValue('ctl-arcade') === "true" && s_iGameType === 1 && iWinner === 0){
|
|
164
|
+
parent.__ctlArcadeSaveScore({score:iWhiteScore, szMode: s_iGameType+""});
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
$(oMain).on("share_event", function(evt, iScore, s_iGameType, iWinner) {
|
|
169
|
+
if(getParamValue('ctl-arcade') === "true" && s_iGameType === 1 && iWinner === 0){
|
|
170
|
+
parent.__ctlArcadeShareEvent({ img: TEXT_SHARE_IMAGE,
|
|
171
|
+
title: TEXT_SHARE_TITLE,
|
|
172
|
+
msg: TEXT_SHARE_MSG1 + iScore + TEXT_SHARE_MSG2,
|
|
173
|
+
msg_share: TEXT_SHARE_SHARE1 + iScore + TEXT_SHARE_SHARE1});
|
|
174
|
+
}
|
|
175
|
+
//...ADD YOUR CODE HERE EVENTUALLY
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
$(oMain).on("show_interlevel_ad", function(evt) {
|
|
180
|
+
if(getParamValue('ctl-arcade') === "true"){
|
|
181
|
+
parent.__ctlArcadeShowInterlevelAD();
|
|
182
|
+
}
|
|
183
|
+
//...ADD YOUR CODE HERE EVENTUALLY
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
if(isIOS()){
|
|
187
|
+
setTimeout(function(){sizeHandler();},200);
|
|
188
|
+
}else{
|
|
189
|
+
sizeHandler();
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
</script>
|
|
194
|
+
|
|
195
|
+
<div class="check-fonts">
|
|
196
|
+
<p class="check-font-1">arialrounded</p>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<canvas id="canvas" class='ani_hack' width="1280" height="1920"> </canvas>
|
|
200
|
+
<div data-orientation="portrait" class="orientation-msg-container"><p class="orientation-msg-text">Please rotate your device</p></div>
|
|
201
|
+
<div id="block_game" style="position: fixed; background-color: transparent; top: 0px; left: 0px; width: 100%; height: 100%; display:none"></div>
|
|
202
|
+
|
|
203
|
+
</body>
|
|
204
|
+
</html>
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/geometry-dash-remastered/">
|
|
5
|
+
<meta charset='utf-8' />
|
|
6
|
+
<meta name='viewport' content='width=device-width, user-scalable=no' />
|
|
7
|
+
<link rel='icon' type='image/png' href='/new logo.png' />
|
|
8
|
+
<title>GD remastered</title>
|
|
9
|
+
|
|
10
|
+
<style type='text/css'>
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
touch-action: none;
|
|
14
|
+
margin: 0;
|
|
15
|
+
border: 0 none;
|
|
16
|
+
padding: 0;
|
|
17
|
+
text-align: center;
|
|
18
|
+
background-color: black;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#canvas {
|
|
22
|
+
display: block;
|
|
23
|
+
margin: 0;
|
|
24
|
+
color: white;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#canvas:focus {
|
|
28
|
+
outline: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.godot {
|
|
32
|
+
font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
|
|
33
|
+
color: #e0e0e0;
|
|
34
|
+
background-color: #3b3943;
|
|
35
|
+
background-image: linear-gradient(to bottom, #403e48, #35333c);
|
|
36
|
+
border: 1px solid #45434e;
|
|
37
|
+
box-shadow: 0 0 1px 1px #2f2d35;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/* Status display
|
|
42
|
+
* ============== */
|
|
43
|
+
|
|
44
|
+
#status {
|
|
45
|
+
position: absolute;
|
|
46
|
+
left: 0;
|
|
47
|
+
top: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
/* don't consume click events - make children visible explicitly */
|
|
54
|
+
visibility: hidden;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#status-progress {
|
|
58
|
+
width: 366px;
|
|
59
|
+
height: 7px;
|
|
60
|
+
background-color: #38363A;
|
|
61
|
+
border: 1px solid #444246;
|
|
62
|
+
padding: 1px;
|
|
63
|
+
box-shadow: 0 0 2px 1px #1B1C22;
|
|
64
|
+
border-radius: 2px;
|
|
65
|
+
visibility: visible;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media only screen and (orientation:portrait) {
|
|
69
|
+
#status-progress {
|
|
70
|
+
width: 61.8%;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#status-progress-inner {
|
|
75
|
+
height: 100%;
|
|
76
|
+
width: 0;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
transition: width 0.5s linear;
|
|
79
|
+
background-color: #202020;
|
|
80
|
+
border: 1px solid #222223;
|
|
81
|
+
box-shadow: 0 0 1px 1px #27282E;
|
|
82
|
+
border-radius: 3px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
#status-indeterminate {
|
|
86
|
+
visibility: visible;
|
|
87
|
+
position: relative;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
#status-indeterminate > div {
|
|
91
|
+
width: 4.5px;
|
|
92
|
+
height: 0;
|
|
93
|
+
border-style: solid;
|
|
94
|
+
border-width: 9px 3px 0 3px;
|
|
95
|
+
border-color: #2b2b2b transparent transparent transparent;
|
|
96
|
+
transform-origin: center 21px;
|
|
97
|
+
position: absolute;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#status-indeterminate > div:nth-child(1) { transform: rotate( 22.5deg); }
|
|
101
|
+
#status-indeterminate > div:nth-child(2) { transform: rotate( 67.5deg); }
|
|
102
|
+
#status-indeterminate > div:nth-child(3) { transform: rotate(112.5deg); }
|
|
103
|
+
#status-indeterminate > div:nth-child(4) { transform: rotate(157.5deg); }
|
|
104
|
+
#status-indeterminate > div:nth-child(5) { transform: rotate(202.5deg); }
|
|
105
|
+
#status-indeterminate > div:nth-child(6) { transform: rotate(247.5deg); }
|
|
106
|
+
#status-indeterminate > div:nth-child(7) { transform: rotate(292.5deg); }
|
|
107
|
+
#status-indeterminate > div:nth-child(8) { transform: rotate(337.5deg); }
|
|
108
|
+
|
|
109
|
+
#status-notice {
|
|
110
|
+
margin: 0 100px;
|
|
111
|
+
line-height: 1.3;
|
|
112
|
+
visibility: visible;
|
|
113
|
+
padding: 4px 6px;
|
|
114
|
+
visibility: visible;
|
|
115
|
+
}
|
|
116
|
+
</style>
|
|
117
|
+
|
|
118
|
+
</head>
|
|
119
|
+
<body style="overflow:hidden;">
|
|
120
|
+
<canvas id='canvas'>
|
|
121
|
+
HTML5 canvas appears to be unsupported in the current browser.<br />
|
|
122
|
+
Please try updating or use a different browser.
|
|
123
|
+
</canvas>
|
|
124
|
+
<div id='status'>
|
|
125
|
+
<div id='status-progress' style='display: none;' oncontextmenu='event.preventDefault();'><div id ='status-progress-inner'></div></div>
|
|
126
|
+
<div id='status-indeterminate' style='display: none;' oncontextmenu='event.preventDefault();'>
|
|
127
|
+
<div></div>
|
|
128
|
+
<div></div>
|
|
129
|
+
<div></div>
|
|
130
|
+
<div></div>
|
|
131
|
+
<div></div>
|
|
132
|
+
<div></div>
|
|
133
|
+
<div></div>
|
|
134
|
+
<div></div>
|
|
135
|
+
</div>
|
|
136
|
+
<div id='status-notice' class='godot' style='display: none;'></div>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<script type='text/javascript' src='GD_remastered.js'></script>
|
|
140
|
+
<script type='text/javascript'>//<![CDATA[
|
|
141
|
+
|
|
142
|
+
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"executable":"GD_remastered","experimentalVK":false,"fileSizes":{"GD_remastered.pck":26259984,"GD_remastered.wasm":1767811},"gdnativeLibs":[]};
|
|
143
|
+
var engine = new Engine(GODOT_CONFIG);
|
|
144
|
+
|
|
145
|
+
(function() {
|
|
146
|
+
const INDETERMINATE_STATUS_STEP_MS = 100;
|
|
147
|
+
var statusProgress = document.getElementById('status-progress');
|
|
148
|
+
var statusProgressInner = document.getElementById('status-progress-inner');
|
|
149
|
+
var statusIndeterminate = document.getElementById('status-indeterminate');
|
|
150
|
+
var statusNotice = document.getElementById('status-notice');
|
|
151
|
+
|
|
152
|
+
var initializing = true;
|
|
153
|
+
var statusMode = 'hidden';
|
|
154
|
+
|
|
155
|
+
var animationCallbacks = [];
|
|
156
|
+
function animate(time) {
|
|
157
|
+
animationCallbacks.forEach(callback => callback(time));
|
|
158
|
+
requestAnimationFrame(animate);
|
|
159
|
+
}
|
|
160
|
+
requestAnimationFrame(animate);
|
|
161
|
+
|
|
162
|
+
function setStatusMode(mode) {
|
|
163
|
+
|
|
164
|
+
if (statusMode === mode || !initializing)
|
|
165
|
+
return;
|
|
166
|
+
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
|
167
|
+
elem.style.display = 'none';
|
|
168
|
+
});
|
|
169
|
+
animationCallbacks = animationCallbacks.filter(function(value) {
|
|
170
|
+
return (value != animateStatusIndeterminate);
|
|
171
|
+
});
|
|
172
|
+
switch (mode) {
|
|
173
|
+
case 'progress':
|
|
174
|
+
statusProgress.style.display = 'block';
|
|
175
|
+
break;
|
|
176
|
+
case 'indeterminate':
|
|
177
|
+
statusIndeterminate.style.display = 'block';
|
|
178
|
+
animationCallbacks.push(animateStatusIndeterminate);
|
|
179
|
+
break;
|
|
180
|
+
case 'notice':
|
|
181
|
+
statusNotice.style.display = 'block';
|
|
182
|
+
break;
|
|
183
|
+
case 'hidden':
|
|
184
|
+
break;
|
|
185
|
+
default:
|
|
186
|
+
throw new Error('Invalid status mode');
|
|
187
|
+
}
|
|
188
|
+
statusMode = mode;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function animateStatusIndeterminate(ms) {
|
|
192
|
+
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
|
193
|
+
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
|
194
|
+
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
|
195
|
+
child.style.borderTopColor = '';
|
|
196
|
+
});
|
|
197
|
+
statusIndeterminate.children[i].style.borderTopColor = '#dfdfdf';
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function setStatusNotice(text) {
|
|
202
|
+
while (statusNotice.lastChild) {
|
|
203
|
+
statusNotice.removeChild(statusNotice.lastChild);
|
|
204
|
+
}
|
|
205
|
+
var lines = text.split('\n');
|
|
206
|
+
lines.forEach((line) => {
|
|
207
|
+
statusNotice.appendChild(document.createTextNode(line));
|
|
208
|
+
statusNotice.appendChild(document.createElement('br'));
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
function displayFailureNotice(err) {
|
|
213
|
+
var msg = err.message || err;
|
|
214
|
+
console.error(msg);
|
|
215
|
+
setStatusNotice(msg);
|
|
216
|
+
setStatusMode('notice');
|
|
217
|
+
initializing = false;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
if (!Engine.isWebGLAvailable()) {
|
|
221
|
+
displayFailureNotice('WebGL not available');
|
|
222
|
+
} else {
|
|
223
|
+
setStatusMode('indeterminate');
|
|
224
|
+
engine.startGame({
|
|
225
|
+
'onProgress': function (current, total) {
|
|
226
|
+
if (total > 0) {
|
|
227
|
+
statusProgressInner.style.width = current/total * 100 + '%';
|
|
228
|
+
setStatusMode('progress');
|
|
229
|
+
if (current === total) {
|
|
230
|
+
// wait for progress bar animation
|
|
231
|
+
setTimeout(() => {
|
|
232
|
+
setStatusMode('indeterminate');
|
|
233
|
+
}, 500);
|
|
234
|
+
}
|
|
235
|
+
} else {
|
|
236
|
+
setStatusMode('indeterminate');
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
}).then(() => {
|
|
240
|
+
setStatusMode('hidden');
|
|
241
|
+
initializing = false;
|
|
242
|
+
}, displayFailureNotice);
|
|
243
|
+
}
|
|
244
|
+
})();
|
|
245
|
+
//]]></script>
|
|
246
|
+
</body>
|
|
247
|
+
</html>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/highway-racer-3d/">
|
|
5
|
+
<script type="text/javascript">
|
|
6
|
+
window.config = {
|
|
7
|
+
debug: false,
|
|
8
|
+
maxRatio: 16 / 9,
|
|
9
|
+
minRatio: 9 / 16,
|
|
10
|
+
numScreenshots: 0,
|
|
11
|
+
unityWebglBuildUrl: 'highwat_racer_gd_v5.json',
|
|
12
|
+
unityWebglLoaderUrl: 'UnityLoader.js'
|
|
13
|
+
};
|
|
14
|
+
</script>
|
|
15
|
+
<meta charset="utf-8">
|
|
16
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
17
|
+
<title>Highway Racer 3D</title>
|
|
18
|
+
<link rel="icon" type="image/png" href="/new logo.png">
|
|
19
|
+
<link rel="stylesheet" type="text/css" href="style.css" />
|
|
20
|
+
<script type="text/javascript" src="api.js"></script>
|
|
21
|
+
<script type="text/javascript" src="patch/js/null.js?cloak.js"></script>
|
|
22
|
+
<meta name="website" content="unblockedgames67.gitlab.io" />
|
|
23
|
+
</head>
|
|
24
|
+
<body style="overflow:hidden;">
|
|
25
|
+
<div id="loader">
|
|
26
|
+
<div id="slideshow">
|
|
27
|
+
<div id="slideshow-top">
|
|
28
|
+
<img alt="Sling Drift" title="Sling Drift" src="thumbnail.jpg" id="thumbnail" />
|
|
29
|
+
<div id="slideshow-top-container">
|
|
30
|
+
<div id="game-title">
|
|
31
|
+
<h1>Highway Racer 3D</h1>
|
|
32
|
+
</div>
|
|
33
|
+
<div id="progress-container">
|
|
34
|
+
<div id="progress-bar">
|
|
35
|
+
<div id="progress-fill" style="width:0%"></div>
|
|
36
|
+
</div>
|
|
37
|
+
<div id="progress-amount">0%</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div id="slideshow-images"></div>
|
|
42
|
+
<div id="slideshow-nav"></div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div id="game-container">
|
|
46
|
+
<div id="game"></div>
|
|
47
|
+
</div>
|
|
48
|
+
<script type="text/javascript" src="loader.js"></script>
|
|
49
|
+
</body>
|
|
50
|
+
</html>
|