Skip to content

Commit

Permalink
duck life 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-milky-way authored Sep 24, 2024
1 parent 1ebfde0 commit 2223816
Show file tree
Hide file tree
Showing 11 changed files with 78 additions and 0 deletions.
Binary file added games/ducklife1/c5c02c4e65c1c4423a97.wasm
Binary file not shown.
Binary file added games/ducklife1/dl1.swf
Binary file not shown.
Binary file added games/ducklife1/ducklife.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions games/ducklife1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Duck Life</title>
<link rel="icon" type="image/x-icon" href="ducklife.png" />
<link rel="shortcut icon" type="image/x-icon" href="ducklife.png" />
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RW5XLDCNXJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-RW5XLDCNXJ');
</script>
<body>
<script src="/js/main.js"></script>
<div id="ruffle" width="100%" height="100%"></div>
<script src="ruffle.js"></script>
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.addEventListener("load", (event) => {
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("ruffle");
player.id = "player";
player.style.width = "100%";
player.style.height = "100%";
container.appendChild(player);
player.load("dl1.swf");
});
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions games/ducklife1/ruffle.js

Large diffs are not rendered by default.

Binary file added games/ducklife2/c5c02c4e65c1c4423a97.wasm
Binary file not shown.
Binary file added games/ducklife2/dl2.swf
Binary file not shown.
Binary file added games/ducklife2/ducklife2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions games/ducklife2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Duck Life 2</title>
<link rel="icon" type="image/x-icon" href="ducklife2.png" />
<link rel="shortcut icon" type="image/x-icon" href="ducklife2.png" />
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RW5XLDCNXJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-RW5XLDCNXJ');
</script>
<body>
<script src="/js/main.js"></script>
<div id="ruffle" width="100%" height="100%"></div>
<script src="ruffle.js"></script>
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.addEventListener("load", (event) => {
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("ruffle");
player.id = "player";
player.style.width = "100%";
player.style.height = "100%";
container.appendChild(player);
player.load("dl2.swf");
});
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions games/ducklife2/ruffle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions games/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
<div id="menu-background-pattern"></div>
</div>
<h1>Games</h1>
<a href="ducklife2/" class="button">Duck Life 2 </a>
<a href="ducklife1/" class="button">Duck Life </a>
<a href="theimpossiblegame/" class="button">The Impossible Game </a>
<a href="wall smash/" class="button">Wall Smash </a>
<a href="tron/" class="button">Tron </a>
Expand Down

0 comments on commit 2223816

Please sign in to comment.