Skip to content

Commit

Permalink
Add clover Ubuntu download link
Browse files Browse the repository at this point in the history
  • Loading branch information
hoani committed Apr 9, 2024
1 parent 6d0f5db commit 6cee3b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 55 deletions.
2 changes: 1 addition & 1 deletion _games/2024-03-30-clover.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ header:
teaser: /assets/images/games/banner/clover.png
sidebar:
- title: "Downloads"
text: '<a href="/assets/downloads/games/clover-win.zip" class="btn btn--primary download-btn"><img src="/assets/icons/windows.svg" class="download-svg"/>Windows</a>'
text: '<a href="/assets/downloads/games/clover-win.zip" class="btn btn--primary download-btn"><img src="/assets/icons/windows.svg" class="download-svg"/>Windows</a> <br><br> <a href="/assets/downloads/games/clover-ubuntu.zip" class="btn btn--primary download-btn"><img src="/assets/icons/ubuntu.svg" class="download-svg"/>Ubuntu</a>'
- title: "by Hoani Bryson"
text: '&emsp;March 2024'
gallery:
Expand Down
62 changes: 8 additions & 54 deletions play/clover/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- Set the background colour of the document -->
<style>
body {
background: #0;
background: #000;
color: #cccccc;
margin: 0px;
padding: 0px;
Expand All @@ -38,6 +38,9 @@
margin: 0px;
padding: 0px;
border: 0px;
display: block;
width: min(100%, 200vh);
height: min(100%, 50vw);
}

:-webkit-full-screen #canvas {
Expand All @@ -55,6 +58,9 @@
margin: 0px;
padding: 0px;
border: 0px;
display: block;
width: auto;
height: 100%;
}

div.gm4html5_login {
Expand Down Expand Up @@ -85,56 +91,6 @@
<!-- Custom PostStyle code is injected here -->


canvas {
image-rendering: optimizeSpeed;
-webkit-interpolation-mode: nearest-neighbor;
-ms-touch-action: none;
touch-action: none;
margin: 0px;
padding: 0px;
border: 0px;
display: block;
width: min(100%, 200vh);
height: min(100%, 50vw);
}

<!-- Custom PostHead code is injected here -->


<!-- Custom PreBody code is injected here -->


/* Custom Runner Styles */
div.gm4html5_div_class {
margin: 0px;
padding: 0px;
border: 0px;
display: block;
width: auto;
height: 100%;
}

<!-- Create the canvas element the game draws to -->
<canvas id="canvas" width="512" height="256"
style="position: absolute; top: 50%; left: 50%; bottom: -50%; right: -50%; transform: translate(-50%, -50%);">
<p>Your browser doesn't support HTML5 canvas.</p>
</canvas>
</div>

<!-- Run the game code -->
<script type="text/javascript" src="clover/archer-cart.js?cachebust=2032408752"></script>

<!-- Builtin injector for injecting runner path -->


<script>window.onload = GameMaker_Init;</script>

<!-- Builtin injector for injecting google analytics code -->


<!-- Custom PostStyle code is injected here -->


<!-- Builtin injector for injecting flurry analytics code -->

</head>
Expand All @@ -159,7 +115,7 @@
</div>

<!-- Run the game code -->
<script type="text/javascript" src="clover/archer-cart.js?cachebust=605911968"></script>
<script type="text/javascript" src="clover/archer-cart.js?cachebust=2032408752"></script>

<!-- Builtin injector for injecting runner path -->

Expand All @@ -172,6 +128,4 @@

<!-- Custom PostBody code is injected here -->

<!-- Custom PostBody code is injected here -->

</html>

0 comments on commit 6cee3b5

Please sign in to comment.