-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
4,925 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.38 KB
...basketball/23c3f1f4e67c91efb96189adcd94f6796968077ca8d638224c5d1ab6a6f87a60.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"companyName": "Dreamon Studios", | ||
"productName": "Bouncy Basketball", | ||
"productVersion": "1", | ||
"dataUrl": "BouncyBasketball.data.unityweb", | ||
"wasmCodeUrl": "BouncyBasketball.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "BouncyBasketball.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.2.11f1" | ||
} |
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
static/misc/bouncybasketball/BouncyBasketball.wasm.framework.unityweb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>Bouncy Basketball</title> | ||
<script> | ||
window.config = { | ||
loader: 'unity', | ||
debug: false, | ||
maxRatio: 16 / 9, | ||
minRatio: 9 / 16, | ||
|
||
title: 'Bouncy Basketball', | ||
thumbnail: '23c3f1f4e67c91efb96189adcd94f6796968077ca8d638224c5d1ab6a6f87a60.jpg', | ||
numScreenshots: 4, | ||
|
||
unityVersion: '2019.2.11f1', | ||
unityWebglBuildUrl: 'BouncyBasketball.json', | ||
|
||
fileSize: 8, | ||
cachedDecompressedFileSizes: { | ||
'BouncyBasketball.data.unityweb': 4733559, | ||
'BouncyBasketball.wasm.code.unityweb': 3933648, | ||
'BouncyBasketball.wasm.framework.unityweb': 81511, | ||
}, | ||
}; | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<script src="master-loader.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
"use strict"; | ||
var scripts = document.getElementsByTagName("script"), | ||
scriptUrl = scripts[scripts.length - 1].src, | ||
root = scriptUrl.split("master-loader.js")[0], | ||
loaders = { | ||
unity: "unity.js", "unity-2020": "unity-2020.js" | ||
}; | ||
if (0 <= window.location.href.indexOf("pokiForceLocalLoader") | ||
&& (loaders.unity = "./unity.js", | ||
|
||
root = "/loaders"), !window.config) throw Error("window.config not found"); | ||
var loader = loaders[window.config.loader]; | ||
if (!loader) throw Error('Loader "' + window.config.loader + '" not found'); | ||
if (!window.config.unityWebglLoaderUrl) { | ||
var versionSplit = window.config.unityVersion ? window.config.unityVersion.split(".") : [], | ||
year = versionSplit[0], | ||
minor = versionSplit[1]; | ||
window.config.unityWebglLoaderUrl ="./UnityLoader.2019.2.js"; | ||
// switch (year) { | ||
// case "2019": | ||
// window.config.unityWebglLoaderUrl = 1 === minor ? "./UnityLoader.2019.1.js" : "./UnityLoader.2019.2.js"; | ||
// break; | ||
// default: | ||
// window.config.unityWebglLoaderUrl = "https://game-cdn.poki.com/loaders/v2/unity/static/UnityLoader.js" | ||
// } | ||
} | ||
var sdkScript = document.createElement("script"); | ||
sdkScript.src = "./poki-sdk.js", sdkScript.onload = function() { | ||
var i = document.createElement("script"); | ||
i.src = root + loader, document.body.appendChild(i) | ||
}, document.body.appendChild(sdkScript); |
Oops, something went wrong.