subwayzurich 1.0.0

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/index.html ADDED
@@ -0,0 +1,41 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="robots" content="noindex, nofollow">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8
+ <title>Subway Surfers</title>
9
+ <script type="text/javascript">document.domain='4399.com'</script>
10
+ <script type="text/javascript" src="4399.js"></script>
11
+ <script>
12
+ window.config = {
13
+ loader: 'unity',
14
+ debug: false,
15
+ maxRatio: 16 / 9,
16
+ minRatio: 9 / 16,
17
+
18
+ title: 'Subway Surfers',
19
+ thumbnail: './b3f5e1472e1bfbee1804c7e854546a08.png',
20
+ numScreenshots: 4 ,
21
+
22
+ unityVersion: '2019.4.18f1',
23
+ unityWebglBuildUrl: 'Build/ZurichNewPrivacy.json',
24
+
25
+ fileSize: 36 ,
26
+ cachedDecompressedFileSizes: {
27
+ 'ZurichNewPrivacy.asm.code.unityweb': 9078047 ,
28
+ 'ZurichNewPrivacy.asm.framework.unityweb': 86375 ,
29
+ 'ZurichNewPrivacy.asm.memory.unityweb': 956748 ,
30
+ 'ZurichNewPrivacy.data.unityweb': 19164736 ,
31
+ 'ZurichNewPrivacy.wasm.code.unityweb': 7282721 ,
32
+ 'ZurichNewPrivacy.wasm.framework.unityweb': 90700 ,
33
+ },
34
+ };
35
+ </script>
36
+ </head>
37
+ <body>
38
+ <script src="./master-loader.js"></script>
39
+ <script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"c843b8c381814d58b40d4597a1bf7962","server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
40
+ </body>
41
+ </html>
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var scripts = document.getElementsByTagName("script"),
3
+ scriptUrl = scripts[scripts.length - 1].src,
4
+ root = scriptUrl.split("master-loader.js")[0],
5
+ loaders = {
6
+ unity: "unity.js"
7
+ };
8
+ if (0 <= window.location.href.indexOf("pokiForceLocalLoader")
9
+ && (loaders.unity = "./unity.js",
10
+
11
+ root = "/loaders"), !window.config) throw Error("window.config not found");
12
+ var loader = loaders[window.config.loader];
13
+ if (!loader) throw Error('Loader "' + window.config.loader + '" not found');
14
+ if (!window.config.unityWebglLoaderUrl) {
15
+ var versionSplit = window.config.unityVersion ? window.config.unityVersion.split(".") : [],
16
+ year = versionSplit[0],
17
+ minor = versionSplit[1];
18
+ window.config.unityWebglLoaderUrl ="./UnityLoader.2019.2.js";
19
+ // switch (year) {
20
+ // case "2019":
21
+ // window.config.unityWebglLoaderUrl = 1 === minor ? "./UnityLoader.2019.1.js" : "./UnityLoader.2019.2.js";
22
+ // break;
23
+ // default:
24
+ // window.config.unityWebglLoaderUrl = "https://game-cdn.poki.com/loaders/v2/unity/static/UnityLoader.js"
25
+ // }
26
+ }
27
+ var sdkScript = document.createElement("script");
28
+ sdkScript.src = "./poki-sdk.js", sdkScript.onload = function() {
29
+ var i = document.createElement("script");
30
+ i.src = root + loader, document.body.appendChild(i)
31
+ }, document.body.appendChild(sdkScript);
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "subwayzurich",
3
+ "version": "1.0.0",
4
+ "description": "Subway Surfers Zurich unity",
5
+ "main": "index.html",
6
+ "unpkg": "index.html",
7
+ "files": [
8
+ "Build/",
9
+ "*.js",
10
+ "index.html",
11
+ "favicon.ico"
12
+ ],
13
+ "keywords": [
14
+ "unity",
15
+ "webgl",
16
+ "game"
17
+ ],
18
+ "license": "ISC"
19
+ }