@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 8d7394d70ec233849a60a26da5f23b75 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:bb408c3b76ddf8d52dbeb8645ef4b9a2050b35a522ed0b1cc215be3ead2663f4 | |||||
size 16006038 | |||||
oid sha256:e63f957ea08e3e9d3619a3d89a314087a13a5911d7c034e466f06a053d26dda2 | |||||
size 15997710 |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:1d8aa297338fd71eebd907f25e88d8391504a3369303a25e7ba12407bbb34072 | |||||
size 5572199 | |||||
oid sha256:4f28da629b7439459ebeddf8c8b9ee55ff9aad672d85b8ee2fa97669ed8b42a5 | |||||
size 5564963 |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:195076cc5cbacd37b39832a0a14e9a338a25be737309dd4fbcd92d004a0ec01e | |||||
size 96968 | |||||
oid sha256:dc2de3a82249b376f7a5074db62c9f088cb7568fee8180be39b909882cf47968 | |||||
size 96976 |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: adf1c18959aaa1842a12e56e75a31119 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 323aa2a86840dd2498d7957df3c6e3d9 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: f38510ab9cf3eaf489020af33ebd8811 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ff03adafce44cd746acb3ea550203e8d | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:cffd3855a721201781eee804d350178288e4d8fc227ea9000fb5b98a260bc156 | |||||
size 16004644 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: c29aba671ee51eb4599c840cf738f804 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,13 @@ | |||||
{ | |||||
"companyName": "Pet.Move()", | |||||
"productName": "Pet.Move()", | |||||
"dataUrl": "WebGLBuild.data.unityweb", | |||||
"wasmCodeUrl": "WebGLBuild.wasm.code.unityweb", | |||||
"wasmFrameworkUrl": "WebGLBuild.wasm.framework.unityweb", | |||||
"TOTAL_MEMORY": 268435456, | |||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | |||||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | |||||
"splashScreenStyle": "Dark", | |||||
"backgroundColor": "#231F20", | |||||
"cacheControl": {"default": "must-revalidate"} | |||||
} |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 50ca90adc04d87743bf4995e44cb5fb5 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:4587da5edc608d17a8d6f04d9998e9db8253f44bdc17986f951ffe74a955a2e5 | |||||
size 5573563 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 27b9e6cad2a4f8046baa8b8120095d64 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:9fe21d7349a39c2e6013f91a4df0a1b511e0505640352d38b349caacfe3d6e14 | |||||
size 96969 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 3b3aff1068765b042b03b2df2703c0dd | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:08c3bf3f3e0e61983ee83c3bea2f403e480d3ce97ad5ef7651ba9fd431a7fcdc | |||||
size 16023304 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: e0f7f576151446a4a9e8feab0debae95 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,13 @@ | |||||
{ | |||||
"companyName": "Pet.Move()", | |||||
"productName": "Pet.Move()", | |||||
"dataUrl": "Webgl Build.data.unityweb", | |||||
"wasmCodeUrl": "Webgl Build.wasm.code.unityweb", | |||||
"wasmFrameworkUrl": "Webgl Build.wasm.framework.unityweb", | |||||
"TOTAL_MEMORY": 268435456, | |||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | |||||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | |||||
"splashScreenStyle": "Dark", | |||||
"backgroundColor": "#231F20", | |||||
"cacheControl": {"default": "must-revalidate"} | |||||
} |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 421b4323f29168643b4c81c8cf5df61a | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:0077d1d0ea377ab787c656c5730f1fcf38176b937f22ec48f57a4ceaec4ef13b | |||||
size 5569019 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: d265725e9dac1914280f6b2c6bd9b5b9 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:e27b618cb236438a94bea0eb515bc220e5e44246ff061cfb3215268a5b509cf4 | |||||
size 96970 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: b4ddd8a246d3525458ff88da9c0d12d1 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 1de7610a5cceb5340919240bd60a9ed8 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: e8c2947f48feb95439c8bb8e979d8487 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ee437241ba0fee94785ac59a7987429d | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 405ad7e70fc6f4e439ef8ff5a629df03 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:bb408c3b76ddf8d52dbeb8645ef4b9a2050b35a522ed0b1cc215be3ead2663f4 | |||||
size 16006038 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 9687abcc05b8ad8489ff09b6fe9a3349 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,13 @@ | |||||
{ | |||||
"companyName": "Pet.Move()", | |||||
"productName": "Pet.Move()", | |||||
"dataUrl": "WebGLBuild.data.unityweb", | |||||
"wasmCodeUrl": "WebGLBuild.wasm.code.unityweb", | |||||
"wasmFrameworkUrl": "WebGLBuild.wasm.framework.unityweb", | |||||
"TOTAL_MEMORY": 268435456, | |||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | |||||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | |||||
"splashScreenStyle": "Dark", | |||||
"backgroundColor": "#231F20", | |||||
"cacheControl": {"default": "must-revalidate"} | |||||
} |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 2858f1e7fdc164b458c491e3b4305dbc | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:1d8aa297338fd71eebd907f25e88d8391504a3369303a25e7ba12407bbb34072 | |||||
size 5572199 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 9496b5162750bf24eb4adf11680675c0 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:195076cc5cbacd37b39832a0a14e9a338a25be737309dd4fbcd92d004a0ec01e | |||||
size 96968 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: abdcff7147a36a74ab006703bb38e967 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: bb4b685b0b0d1414bb22f3bfb213868e | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -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,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: adcef51e1f3d463459f4713e904ff431 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: a9cc542daa38cf548af3da3806284032 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:922b2a609219c96962e2e7af9d27c1f1935881de617c9d5cb08fdb0d034cafdc | |||||
size 345 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 5f682c9c18e3c8541960c5c8e4a3a465 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:3c901e72986f57b3dd474c5b8db981da26ec1d9ad92af9edc722172678c07d44 | |||||
size 155 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 9283435a8db199a4a94c3ab8a0a2f36e | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:efbfdb9313bdc0489d96339cf4352c1a80bc953050cf9a6c06a7ced0c0f1a4e2 | |||||
size 159 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 3a5824033435a864ca4fb5fa48b89cc2 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:2832fafec86b420ee29e0e2126b95767a22bff85d30dc90ed8de36246b395fd8 | |||||
size 137 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 24aede84d2f261e45ab49176df105752 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:706765aced698c9790bb31eafd12b8161fadc46a62214926788a7a84cdc5fb51 | |||||
size 142 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 87c38faccf095bc40968e8297c773b1d | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:b95da4db2adc10af8bee6bfccb5246cc356b3164ce7caf6c7581c1002d64b71b | |||||
size 2343 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 057eb0e410fafc84b810ec43a9b62a1b | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:270d4f3c53ec8acbef1657520116e9bbd5efe074e4fc12db05fdb9a745ae96bb | |||||
size 2259 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 972fd9e4be817e14eb425dac145d5349 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,18 @@ | |||||
.webgl-content * {border: 0; margin: 0; padding: 0} | |||||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | |||||
.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,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 6664add521c9fbe469ebe608db9716f3 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:f02bcd2abdd299a100ab8e2a339b3f414727816901ecda211d68cb7ba0705da0 | |||||
size 3587 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ce8e7719a2c591c4f93740f2351d0665 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,132 @@ | |||||
<!DOCTYPE html> | |||||
<html lang="en-us"> | |||||
<head> | |||||
<meta charset="utf-8"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |||||
<title>Pet.Move()</title> | |||||
<style> | |||||
html { | |||||
box-sizing: border-box; | |||||
} | |||||
*, *:before, *:after { | |||||
box-sizing: inherit; | |||||
} | |||||
body { | |||||
margin: 0; | |||||
background: #444; | |||||
} | |||||
#gameContainer { | |||||
width: 100vw; | |||||
height: 100vh; | |||||
} | |||||
canvas { | |||||
width: 100%; | |||||
height: 100%; | |||||
display: block; | |||||
} | |||||
/* try to handle mobile dialog */ | |||||
canvas + * { | |||||
z-index: 2; | |||||
} | |||||
.logo { | |||||
display: block; | |||||
max-width: 100vw; | |||||
max-height: 70vh; | |||||
} | |||||
.progress { | |||||
margin: 1.5em; | |||||
border: 1px solid white; | |||||
width: 50vw; | |||||
display: none; | |||||
} | |||||
.progress .full { | |||||
margin: 2px; | |||||
background: white; | |||||
height: 1em; | |||||
transform-origin: top left; | |||||
} | |||||
#loader { | |||||
position: absolute; | |||||
left: 0; | |||||
top: 0; | |||||
width: 100vw; | |||||
height: 100vh; | |||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: center; | |||||
justify-content: center; | |||||
} | |||||
.spinner, | |||||
.spinner:after { | |||||
border-radius: 50%; | |||||
width: 5em; | |||||
height: 5em; | |||||
} | |||||
.spinner { | |||||
margin: 10px; | |||||
font-size: 10px; | |||||
position: relative; | |||||
text-indent: -9999em; | |||||
border-top: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-right: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-left: 1.1em solid #ffffff; | |||||
transform: translateZ(0); | |||||
animation: spinner-spin 1.1s infinite linear; | |||||
} | |||||
@keyframes spinner-spin { | |||||
0% { | |||||
transform: rotate(0deg); | |||||
} | |||||
100% { | |||||
transform: rotate(360deg); | |||||
} | |||||
} | |||||
</style> | |||||
</head> | |||||
<body> | |||||
<div id="gameContainer"></div> | |||||
<div id="loader"> | |||||
<img class="logo" src="logo.png"> | |||||
<div class="spinner"></div> | |||||
<div class="progress"><div class="full"></div></div> | |||||
</div> | |||||
</body> | |||||
<script src="Build/UnityLoader.js"></script> | |||||
<script> | |||||
if (UnityLoader.SystemInfo.mobile) | |||||
{ | |||||
window.location.replace("https://drive.google.com/file/d/1NIZWYDeFr34JC4Ekig0aYny-DB3JVMMQ/view?usp=sharing"); | |||||
} | |||||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/WebGLBuild.json", {onProgress: UnityProgress}); | |||||
function UnityProgress(gameInstance, progress) { | |||||
if (!gameInstance.Module) { | |||||
return; | |||||
} | |||||
const loader = document.querySelector("#loader"); | |||||
if (!gameInstance.progress) { | |||||
const progress = document.querySelector("#loader .progress"); | |||||
progress.style.display = "block"; | |||||
gameInstance.progress = progress.querySelector(".full"); | |||||
loader.querySelector(".spinner").style.display = "none"; | |||||
} | |||||
gameInstance.progress.style.transform = `scaleX(${progress})`; | |||||
if (progress === 1 && !gameInstance.removeTimeout) { | |||||
gameInstance.removeTimeout = setTimeout(function() { | |||||
loader.style.display = "none"; | |||||
}, 2000); | |||||
} | |||||
} | |||||
</script> | |||||
</html> | |||||
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: df3d53ac3af0a0e45a45aad8cdd75e68 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:c963d84120be6c9dbd55078d72c6872b193294304954c55db22267f0d5317452 | |||||
size 7257 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: bae3de26b2a9c424b8c83e63ddbef616 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: be7f241c577dee649845efc70be07472 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -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,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 638a113e358d7fd40966bc51966adf08 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 61803f0b09ff3494fa2655ccf6196907 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:922b2a609219c96962e2e7af9d27c1f1935881de617c9d5cb08fdb0d034cafdc | |||||
size 345 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: a586b8b1c6ada364aa9efef6353ad0ef | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:3c901e72986f57b3dd474c5b8db981da26ec1d9ad92af9edc722172678c07d44 | |||||
size 155 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 53cc901f33f65464997444629d2b506a | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:efbfdb9313bdc0489d96339cf4352c1a80bc953050cf9a6c06a7ced0c0f1a4e2 | |||||
size 159 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 770fed40cccd72a43a5f3d071a778fac | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:2832fafec86b420ee29e0e2126b95767a22bff85d30dc90ed8de36246b395fd8 | |||||
size 137 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 658c76fd10aff9a40b67cfe7eaa2a991 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:706765aced698c9790bb31eafd12b8161fadc46a62214926788a7a84cdc5fb51 | |||||
size 142 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: aaf64e9f71223994aa1722591b8fdb3d | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:b95da4db2adc10af8bee6bfccb5246cc356b3164ce7caf6c7581c1002d64b71b | |||||
size 2343 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 308f64b3d39338d4baf4cc261e4343e9 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:270d4f3c53ec8acbef1657520116e9bbd5efe074e4fc12db05fdb9a745ae96bb | |||||
size 2259 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 5b26e4a13de009c44a56c496416baf1e | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,18 @@ | |||||
.webgl-content * {border: 0; margin: 0; padding: 0} | |||||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | |||||
.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,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ea6ce2d2810ffa545909c6a44335f468 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:f02bcd2abdd299a100ab8e2a339b3f414727816901ecda211d68cb7ba0705da0 | |||||
size 3587 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 3ceb047812b95a445a9cc2c13a1e1369 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,132 @@ | |||||
<!DOCTYPE html> | |||||
<html lang="en-us"> | |||||
<head> | |||||
<meta charset="utf-8"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |||||
<title>Pet.Move()</title> | |||||
<style> | |||||
html { | |||||
box-sizing: border-box; | |||||
} | |||||
*, *:before, *:after { | |||||
box-sizing: inherit; | |||||
} | |||||
body { | |||||
margin: 0; | |||||
background: #444; | |||||
} | |||||
#gameContainer { | |||||
width: 100vw; | |||||
height: 100vh; | |||||
} | |||||
canvas { | |||||
width: 100%; | |||||
height: 100%; | |||||
display: block; | |||||
} | |||||
/* try to handle mobile dialog */ | |||||
canvas + * { | |||||
z-index: 2; | |||||
} | |||||
.logo { | |||||
display: block; | |||||
max-width: 100vw; | |||||
max-height: 70vh; | |||||
} | |||||
.progress { | |||||
margin: 1.5em; | |||||
border: 1px solid white; | |||||
width: 50vw; | |||||
display: none; | |||||
} | |||||
.progress .full { | |||||
margin: 2px; | |||||
background: white; | |||||
height: 1em; | |||||
transform-origin: top left; | |||||
} | |||||
#loader { | |||||
position: absolute; | |||||
left: 0; | |||||
top: 0; | |||||
width: 100vw; | |||||
height: 100vh; | |||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: center; | |||||
justify-content: center; | |||||
} | |||||
.spinner, | |||||
.spinner:after { | |||||
border-radius: 50%; | |||||
width: 5em; | |||||
height: 5em; | |||||
} | |||||
.spinner { | |||||
margin: 10px; | |||||
font-size: 10px; | |||||
position: relative; | |||||
text-indent: -9999em; | |||||
border-top: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-right: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); | |||||
border-left: 1.1em solid #ffffff; | |||||
transform: translateZ(0); | |||||
animation: spinner-spin 1.1s infinite linear; | |||||
} | |||||
@keyframes spinner-spin { | |||||
0% { | |||||
transform: rotate(0deg); | |||||
} | |||||
100% { | |||||
transform: rotate(360deg); | |||||
} | |||||
} | |||||
</style> | |||||
</head> | |||||
<body> | |||||
<div id="gameContainer"></div> | |||||
<div id="loader"> | |||||
<img class="logo" src="logo.png"> | |||||
<div class="spinner"></div> | |||||
<div class="progress"><div class="full"></div></div> | |||||
</div> | |||||
</body> | |||||
<script src="Build/UnityLoader.js"></script> | |||||
<script> | |||||
if (UnityLoader.SystemInfo.mobile) | |||||
{ | |||||
window.location.replace("https://drive.google.com/file/d/1NIZWYDeFr34JC4Ekig0aYny-DB3JVMMQ/view?usp=sharing"); | |||||
} | |||||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/Webgl Build.json", {onProgress: UnityProgress}); | |||||
function UnityProgress(gameInstance, progress) { | |||||
if (!gameInstance.Module) { | |||||
return; | |||||
} | |||||
const loader = document.querySelector("#loader"); | |||||
if (!gameInstance.progress) { | |||||
const progress = document.querySelector("#loader .progress"); | |||||
progress.style.display = "block"; | |||||
gameInstance.progress = progress.querySelector(".full"); | |||||
loader.querySelector(".spinner").style.display = "none"; | |||||
} | |||||
gameInstance.progress.style.transform = `scaleX(${progress})`; | |||||
if (progress === 1 && !gameInstance.removeTimeout) { | |||||
gameInstance.removeTimeout = setTimeout(function() { | |||||
loader.style.display = "none"; | |||||
}, 2000); | |||||
} | |||||
} | |||||
</script> | |||||
</html> | |||||
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 0b4e4efc07b42fc4abdbf369aed507e7 | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:c963d84120be6c9dbd55078d72c6872b193294304954c55db22267f0d5317452 | |||||
size 7257 |
@ -0,0 +1,7 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 1f268708c968c3243baaf7ae13178f7d | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:89626e954c478d28ed17bbfc46452669c9cb4d5ced3c8e3e886ed6191cf54b15 | |||||
oid sha256:a72b13def7e59eb6657bef59ecf1d9070ed89092b177a371d09e6b99b8e0f05c | |||||
size 1383 | size 1383 |