idk334
This commit is contained in:
1 parent
499c273dc2
commit
1269452f65
12 files changed
+5534
No files matched your search
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"companyName": "3kh0.github.io",
|
||||
"productName": "BitLife",
|
||||
"productVersion": "1.0",
|
||||
"dataUrl": "BitLife.data.unityweb",
|
||||
"wasmCodeUrl": "BitLife.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "BitLife.wasm.framework.unityweb",
|
||||
"graphicsAPI": ["WebGL 2.0","WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#231F20",
|
||||
"cacheControl": {"default": "must-revalidate"},
|
||||
"developmentBuild": false,
|
||||
"multithreading": false,
|
||||
"unityVersion": "2019.4.21f1"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,24 @@
|
||||
function UnityProgress(unityInstance, progress) {
|
||||
if (!unityInstance.Module)
|
||||
return;
|
||||
if (!unityInstance.logo) {
|
||||
unityInstance.logo = document.createElement("div");
|
||||
unityInstance.logo.className = "logo " + unityInstance.Module.splashScreenStyle;
|
||||
unityInstance.container.appendChild(unityInstance.logo);
|
||||
}
|
||||
if (!unityInstance.progress) {
|
||||
unityInstance.progress = document.createElement("div");
|
||||
unityInstance.progress.className = "progress " + unityInstance.Module.splashScreenStyle;
|
||||
unityInstance.progress.empty = document.createElement("div");
|
||||
unityInstance.progress.empty.className = "empty";
|
||||
unityInstance.progress.appendChild(unityInstance.progress.empty);
|
||||
unityInstance.progress.full = document.createElement("div");
|
||||
unityInstance.progress.full.className = "full";
|
||||
unityInstance.progress.appendChild(unityInstance.progress.full);
|
||||
unityInstance.container.appendChild(unityInstance.progress);
|
||||
}
|
||||
unityInstance.progress.full.style.width = (100 * progress) + "%";
|
||||
unityInstance.progress.empty.style.width = (100 * (1 - progress)) + "%";
|
||||
if (progress == 1)
|
||||
unityInstance.logo.style.display = unityInstance.progress.style.display = "none";
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 155 B |
Binary file not shown.
|
After Width: | Height: | Size: 137 B |
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>BitLife - Life Simulator</title>
|
||||
<script async src="https://arc.io/widget.min.js#5XPTU21J"><script data-goatcounter="https://parcoil.goatcounter.com/count"
|
||||
async src="//gc.zgo.at/count.js"></script></script><script src="maintenance.js/"></script><script>
|
||||
if (typeof navigator.serviceWorker !== 'undefined') {
|
||||
navigator.serviceWorker.register('sw.js')
|
||||
}
|
||||
</script>
|
||||
<script> if(top!=self){
|
||||
top.location.replace(document.location);
|
||||
window.open('https://840p.ml','_blank');window.setTimeout(function(){this.close();},1000);
|
||||
alert("STOP STEALING GAMES FROM 840P.ML.")
|
||||
} </script>
|
||||
|
||||
<script type="text/javascript">
|
||||
if ( window.self !== window.top ) {
|
||||
window.top.location.href=window.location.href;
|
||||
}
|
||||
</script>
|
||||
<script> var iframes = document.getElementsByTagName('iframe');
|
||||
|
||||
for (var i = 0; i < iframes.length; i++) {
|
||||
var iframe = iframes[i];
|
||||
|
||||
try {
|
||||
// Try to access the contentWindow property
|
||||
var iframeWindow = iframe.contentWindow;
|
||||
|
||||
// If we can access the contentWindow property, block the iframe
|
||||
window.open('https://840p.ml','_blank');window.setTimeout(function(){this.close();},1000);
|
||||
} catch (e) {
|
||||
// If we can't access the contentWindow property, the iframe is from a different origin and cannot be blocked
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<script> if (window.self !== window.top) {
|
||||
// This page is being displayed in an iframe
|
||||
window.top.location.href = window.location.href;
|
||||
} </script>
|
||||
<script>
|
||||
if( top != self )
|
||||
delete top.onbeforeunload;
|
||||
</script>
|
||||
<script>
|
||||
var iframes = document.getElementsByTagName('iframe');
|
||||
|
||||
for (var i = 0; i < iframes.length; i++) {
|
||||
var iframe = iframes[i];
|
||||
|
||||
// Set the sandbox attribute to 'allow-scripts'
|
||||
iframe.sandbox = 'allow-scripts';
|
||||
}
|
||||
</script>
|
||||
<meta http-equiv="X-Frame-Options" content="deny">
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-W8NZMM8WN9"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-W8NZMM8WN9');
|
||||
</script>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script src="TemplateData/UnityProgress.js"></script>
|
||||
<script src="Build/UnityLoader.js"></script>
|
||||
<script type="application/javascript" src="/js/main.js"></script>
|
||||
<script>
|
||||
var unityInstance = UnityLoader.instantiate("gameContainer", "Build/BitLife.json", {onProgress: UnityProgress});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="webgl-content">
|
||||
<!-- WEBGL GAME IN FULLSCREEN - COPY AND PASTE THIS CSS - IMPORTANT: WIDTH: 100%; HEIGHT:100% -->
|
||||
<div id="gameContainer" style="width: 100%; height: 100%;"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@@ -0,0 +1,251 @@
|
||||
body {
|
||||
font-family: "Myriad Pro", Myriad, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
font-style: regular;
|
||||
font-family: "Myriad Pro", Myriad, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.webgl-content {
|
||||
background: #333;
|
||||
}
|
||||
#errorBrowserBlock,
|
||||
#loadingBlock,
|
||||
.webgl-content {
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
canvas {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
#gameContainer {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
#fullScreenButton,
|
||||
#logoname {
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
background-color: transparent;
|
||||
background-image: url(../img/fullScreen_on.png);
|
||||
background-size: 35px 35px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
#logoname {
|
||||
background-image: url(../img/logo-big.png);
|
||||
left: 15px;
|
||||
bottom: 11px;
|
||||
width: 141px;
|
||||
height: 20px;
|
||||
background-size: 141px 20px;
|
||||
}
|
||||
.subtitle {
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
padding-bottom: 15px;
|
||||
padding-top: 15px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
.logo {
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
width: 265px;
|
||||
height: 60px;
|
||||
}
|
||||
.logo-game {
|
||||
height: 150px;
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: auto;
|
||||
margin-top: 5px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#errorBrowserBlock,
|
||||
#loadingBlock {
|
||||
background: #333;
|
||||
background-size: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
.cover {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
-moz-background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
background-size: cover;
|
||||
opacity: 0.5;
|
||||
filter: blur(16px);
|
||||
}
|
||||
#errorContent,
|
||||
#progressBar,
|
||||
#warningBrowserBlock,
|
||||
#warningMobileBlock {
|
||||
height: 25vh;
|
||||
width: 40vw;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
#progressBar {
|
||||
height: 8vh;
|
||||
color: #fff;
|
||||
font-size: 4vh;
|
||||
}
|
||||
#errorContent,
|
||||
#warningBrowserBlock,
|
||||
#warningMobileBlock {
|
||||
margin-top: 15vh;
|
||||
color: #fff;
|
||||
font-size: 2.3vh;
|
||||
}
|
||||
.browserIcons {
|
||||
display: inline-flex;
|
||||
margin-top: 2vh;
|
||||
}
|
||||
.browserIcons a {
|
||||
width: 150px;
|
||||
}
|
||||
#errorContent {
|
||||
font-size: 3vh;
|
||||
margin-top: 5vh;
|
||||
}
|
||||
.centered {
|
||||
height: 100%;
|
||||
max-width: 770px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.webgl-content * {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.webgl-content {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.progress,
|
||||
.webgl-content .logo {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 45%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.webgl-content .logo {
|
||||
background: url(logo.png) no-repeat center/contain;
|
||||
width: 130px;
|
||||
height: 130px;
|
||||
}
|
||||
.webgl-content .progress {
|
||||
height: 18px;
|
||||
width: 141px;
|
||||
margin-top: 90px;
|
||||
}
|
||||
.webgl-content .progress .empty {
|
||||
background: url(TemplateData/progressEmpty.Light.png) no-repeat right/cover;
|
||||
float: right;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.webgl-content .progress .full {
|
||||
background: url(TemplateData/progressFull.Light.png) no-repeat left/cover;
|
||||
float: left;
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.webgl-content .logo.Dark {
|
||||
background-image: url(logo.png);
|
||||
}
|
||||
.webgl-content .progress.Dark .empty {
|
||||
background-image: url(TemplateData/progressEmpty.Dark.png);
|
||||
}
|
||||
.webgl-content .progress.Dark .full {
|
||||
background-image: url(TemplateData/progressFull.Dark.png);
|
||||
}
|
||||
.webgl-content .footer {
|
||||
margin-top: 5px;
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
font-size: 18px;
|
||||
}
|
||||
.fullscreen,
|
||||
.title,
|
||||
.webgl-content .footer .webgl-logo {
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
background: transparent center no-repeat;
|
||||
}
|
||||
.webgl-content .footer .webgl-logo {
|
||||
background-image: url(TemplateData/webgl-logo.png);
|
||||
width: 204px;
|
||||
float: left;
|
||||
}
|
||||
.webgl-content .footer .title {
|
||||
margin-right: 10px;
|
||||
float: right;
|
||||
}
|
||||
.webgl-content .footer .fullscreen {
|
||||
background-image: url(TemplateData/fullscreen.png);
|
||||
width: 38px;
|
||||
float: right;
|
||||
}
|
||||
body,
|
||||
html {
|
||||
margin: 0 auto;
|
||||
padding: 0 auto;
|
||||
width: 62vh;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#links2 {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
background-color: #fff;
|
||||
border-top-left-radius: 5px;
|
||||
}
|
||||
#links2 ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#links2 ul li {
|
||||
display: inline;
|
||||
}
|
||||
#links2 ul li a {
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
#links2 ul li a.visited {
|
||||
color: #000;
|
||||
}
|
||||
#links2 ul li a:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
@@ -82,6 +82,7 @@
|
||||
<a href="/tesx.html">tex have fun</a>
|
||||
<a href="/games/3m/index.html">motrx3m</a>
|
||||
<a href="/games/vex5/index.html">vex5</a>
|
||||
<a href="/games/ditlifytest/index.html">ditlfy test</a>
|
||||
</head>
|
||||
</form>
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
Reference in new issue
Block a user