Skip to content

Commit

Permalink
add to games page + new game
Browse files Browse the repository at this point in the history
  • Loading branch information
a456pur committed Feb 11, 2024
1 parent 2ec453b commit 7f9c809
Show file tree
Hide file tree
Showing 19 changed files with 160 additions and 46 deletions.
Binary file not shown.
16 changes: 16 additions & 0 deletions games/10minutestilldawn/Build/10MinutesTillDawnWebGL.json
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 not shown.

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions games/10minutestilldawn/Build/UnityLoader.js

Large diffs are not rendered by default.

Binary file added games/10minutestilldawn/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added games/10minutestilldawn/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions games/10minutestilldawn/index.html
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>
Binary file added games/10minutestilldawn/media.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added games/10minutestilldawn/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions games/hungrylamu/Build/WebGL.framework.js

This file was deleted.

1 change: 0 additions & 1 deletion games/hungrylamu/Build/WebGL.loader.js

This file was deleted.

38 changes: 0 additions & 38 deletions games/hungrylamu/index.html

This file was deleted.

Binary file removed games/hungrylamu/splash.png
Binary file not shown.
21 changes: 21 additions & 0 deletions games/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2439,6 +2439,27 @@ <h2>yohoho io</h2>
</div>
</a>

<a target="_blank" href="10minutestilldawn/index.html">
<div class="button" style="background-image: url('../images/thumbnails/10minutestilldawn.png');" data-genre="arcade">
<h2>10 minutes till dawn</h2>
<span class="pin-button"></span>
</div>
</a>

<a target="_blank" href="volleyrandom/index.html">
<div class="button" style="background-image: url('../images/thumbnails/volleyrandom.png');" data-genre="arcade">
<h2>volley random</h2>
<span class="pin-button"></span>
</div>
</a>

<a target="_blank" href="waterworks/index.html">
<div class="button" style="background-image: url('../images/thumbnails/waterworks.png');" data-genre="simulation">
<h2>waterworks</h2>
<span class="pin-button"></span>
</div>
</a>

<br>
<br>
<br>
Expand Down
Binary file added images/.DS_Store
Binary file not shown.
Binary file added images/thumbnails/10minutestilldawn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/thumbnails/volleyrandom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/thumbnails/waterworks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7f9c809

Please sign in to comment.