-
Notifications
You must be signed in to change notification settings - Fork 566
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
19 changed files
with
160 additions
and
46 deletions.
There are no files selected for viewing
Binary file renamed
BIN
+35.3 MB
games/hungrylamu/Build/WebGL.data → ...uild/10MinutesTillDawnWebGL.data.unityweb
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": "Flanne", | ||
"productName": "MinutesTillDawn", | ||
"productVersion": "0.1", | ||
"dataUrl": "10MinutesTillDawnWebGL.data.unityweb", | ||
"wasmCodeUrl": "10MinutesTillDawnWebGL.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "10MinutesTillDawnWebGL.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 renamed
BIN
+21.7 MB
games/hungrylamu/Build/WebGL.wasm → ...10MinutesTillDawnWebGL.wasm.code.unityweb
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
games/10minutestilldawn/Build/10MinutesTillDawnWebGL.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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,95 @@ | ||
<!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>10 Minutes Till Dawn | Seraph</title> | ||
<link rel="shortcut icon" href="../../images/ico.ico" type="image/x-icon"> | ||
<script src="../../storage/js/cloak.js"></script> | ||
|
||
<meta charset="utf-8" /> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<script src="Build/UnityLoader.js"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/10MinutesTillDawnWebGL.json"); | ||
var scaleToFit; | ||
try { | ||
scaleToFit = !!JSON.parse(""); | ||
} catch (e) { | ||
scaleToFit = true; | ||
} | ||
|
||
function onResize() { | ||
var canvas = gameInstance.Module.canvas; | ||
var container = gameInstance.container; | ||
var w; | ||
var h; | ||
|
||
if (scaleToFit) { | ||
w = window.innerWidth; | ||
h = window.innerHeight; | ||
|
||
var r = 675 / 1200; | ||
|
||
if (w * r > window.innerHeight) { | ||
w = Math.min(w, Math.ceil(h / r)); | ||
} | ||
h = Math.floor(w * r); | ||
} else { | ||
w = 1200; | ||
h = 675; | ||
} | ||
|
||
container.style.width = canvas.style.width = w + "px"; | ||
container.style.height = canvas.style.height = h + "px"; | ||
container.style.top = Math.floor((window.innerHeight - h) / 2) + "px"; | ||
container.style.left = Math.floor((window.innerWidth - w) / 2) + "px"; | ||
} | ||
window.addEventListener("resize", onResize); | ||
</script> | ||
<style> | ||
html, | ||
body { | ||
background: #000; | ||
background: ; | ||
width: 100%; | ||
height: 100%; | ||
overflow: visible; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
div#gameContainer { | ||
background: transparent !important; | ||
position: absolute; | ||
} | ||
|
||
div#gameContainer canvas { | ||
position: absolute; | ||
} | ||
|
||
div#gameContainer[data-pixelated="true"] canvas { | ||
image-rendering: optimizeSpeed; | ||
image-rendering: -webkit-crisp-edges; | ||
image-rendering: -moz-crisp-edges; | ||
image-rendering: -o-crisp-edges; | ||
image-rendering: crisp-edges; | ||
image-rendering: -webkit-optimize-contrast; | ||
image-rendering: optimize-contrast; | ||
image-rendering: pixelated; | ||
-ms-interpolation-mode: nearest-neighbor; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body onload="onResize();"> | ||
<div id="gameContainer" data-pixelated="true"></div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.