Skip to content

Commit

Permalink
fix drift hunters + fnf
Browse files Browse the repository at this point in the history
  • Loading branch information
a456pur committed Aug 21, 2024
1 parent 9925daf commit fa8b65e
Show file tree
Hide file tree
Showing 1,724 changed files with 1,299,748 additions and 283,830 deletions.
3 changes: 0 additions & 3 deletions games/drifthunters/Build/ItchIO.data.unityweb

This file was deleted.

Binary file removed games/drifthunters/Build/ItchIO.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions games/drifthunters/Build/ItchIO.json

This file was deleted.

4 changes: 0 additions & 4 deletions games/drifthunters/Build/UnityLoader.js

This file was deleted.

24 changes: 0 additions & 24 deletions games/drifthunters/TemplateData/UnityProgress.js

This file was deleted.

Binary file removed games/drifthunters/TemplateData/progressEmpty.Light.png
Binary file not shown.
Binary file removed games/drifthunters/TemplateData/progressFull.Light.png
Binary file not shown.
Binary file not shown.
19 changes: 0 additions & 19 deletions games/drifthunters/TemplateData/style.css

This file was deleted.

3,819 changes: 3,819 additions & 0 deletions games/drifthunters/UnityLoader2019.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file added games/drifthunters/dh.data.unityweb.000
Binary file not shown.
Binary file added games/drifthunters/dh.data.unityweb.001
Binary file not shown.
Binary file added games/drifthunters/dh.data.unityweb.002
Binary file not shown.
Binary file added games/drifthunters/dh.data.unityweb.003
Binary file not shown.
Binary file added games/drifthunters/dh.data.unityweb.004
Binary file not shown.
Binary file added games/drifthunters/dh.data.unityweb.005
Binary file not shown.
13 changes: 13 additions & 0 deletions games/drifthunters/dh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"TOTAL_MEMORY": 1073741824,
"dataUrl": "dh.data.unityweb",
"asmCodeUrl": "dh.asm.code.unityweb",
"asmMemoryUrl": "dh.asm.memory.unityweb",
"asmFrameworkUrl": "dh.asm.framework.unityweb",
"backgroundUrl": "",
"splashScreenStyle": "Dark",
"backgroundColor": "#111111",
"totalFile": 6,
"size": 134902255,
"split_size": 22483710
}
Binary file added games/drifthunters/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
166 changes: 135 additions & 31 deletions games/drifthunters/index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,135 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7FN7LEVWXD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-7FN7LEVWXD');
</script>

<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Drift Hunters | Seraph</title>
<link rel="shortcut icon" href="../../images/ico.ico" type="image/x-icon">
<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/ItchIO.json", {onProgress: UnityProgress});
</script>
<script src="../../storage/js/cloak.js"></script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 960px; height: 600px; padding: 0px; margin: 0px; border: 0px; position: relative;"></div>

</div>
</body>
</html
<!DOCTYPE html>
<html lang="en-us">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7FN7LEVWXD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-7FN7LEVWXD');
</script>
<title>Drift Hunters | Seraph</title>
<script src="../../storage/js/cloak.js"></script>
<link rel="shortcut icon" href="../../images/ico.ico" type="image/x-icon">




<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>

<meta name="robots" content="noindex,nofollow" />
<style>
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: 354px;
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;
}
</style>
</head>
<body style="margin: 0 auto; overflow: hidden">
<div class="webgl-content">
<div
id="gameContainer"
style="width: 100%; height: 100%; margin: 0"
></div>
</div>
</body>
<script src="UnityLoader2019.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "dh.json");

function UnityProgress(gameInstance, progress) {
if (!gameInstance.Module) {
return;
}
}
</script>
</html>
Loading

0 comments on commit fa8b65e

Please sign in to comment.