Skip to content

Commit

Permalink
added flash shit
Browse files Browse the repository at this point in the history
  • Loading branch information
starg3n committed Dec 9, 2024
1 parent f209fe1 commit 6535dd4
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 0 deletions.
Binary file added flash/btd5/bloons-tower-defense-5.swf
Binary file not shown.
60 changes: 60 additions & 0 deletions flash/btd5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://sigmagames69.github.io/img/favicon.png">
<title>Balloons TD 5</title>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}

.fullscreenBtn {
width: 36px;
height: 36px;
cursor: pointer;
}

object {
max-width: 100%;
max-height: 100%;
border-radius: 12px;
}
</style>
</head>
<body>

<object id="flashObject" type="application/x-shockwave-flash" data="https://joercat.github.io/flash/btd5/btd5.swf" width="80%" height="80%">
<param name="movie" value="https://joercat.github.io/flash/btd5/btd5.swf" />
You need a more recent version of <a href="http://get.adobe.com/flashplayer/">Adobe Flash Player</a>.
</object>

<div style="margin-top: 0px; text-align: center; background-color: grey; width: 75%; height: 10%;">
<img src="https://sigmagames69.github.io/img/full.png" class="fullscreenBtn" onclick="goFullscreen()" alt="fullscreen">
</div>

<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
<script>
function goFullscreen() {
const gameObject = document.getElementById('flashObject');
if (gameObject.requestFullscreen) {
gameObject.requestFullscreen();
} else if (gameObject.mozRequestFullScreen) {
gameObject.mozRequestFullScreen();
} else if (gameObject.webkitRequestFullscreen) {
gameObject.webkitRequestFullscreen();
} else if (gameObject.msRequestFullscreen) {
gameObject.msRequestFullscreen();
}
}
</script>
</body>
</html>
Binary file added flash/tboi/The Binding of Isaac.swf
Binary file not shown.
60 changes: 60 additions & 0 deletions flash/tboi/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://sigmagames69.github.io/img/favicon.png">
<title>Balloons TD 5</title>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}

.fullscreenBtn {
width: 36px;
height: 36px;
cursor: pointer;
}

object {
max-width: 100%;
max-height: 100%;
border-radius: 12px;
}
</style>
</head>
<body>

<object id="flashObject" type="application/x-shockwave-flash" data="https://joercat.github.io/flash/btd5/btd5.swf" width="80%" height="80%">
<param name="movie" value="https://joercat.github.io/flash/btd5/btd5.swf" />
You need a more recent version of <a href="http://get.adobe.com/flashplayer/">Adobe Flash Player</a>.
</object>

<div style="margin-top: 0px; text-align: center; background-color: grey; width: 75%; height: 10%;">
<img src="https://sigmagames69.github.io/img/full.png" class="fullscreenBtn" onclick="goFullscreen()" alt="fullscreen">
</div>

<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
<script>
function goFullscreen() {
const gameObject = document.getElementById('flashObject');
if (gameObject.requestFullscreen) {
gameObject.requestFullscreen();
} else if (gameObject.mozRequestFullScreen) {
gameObject.mozRequestFullScreen();
} else if (gameObject.webkitRequestFullscreen) {
gameObject.webkitRequestFullscreen();
} else if (gameObject.msRequestFullscreen) {
gameObject.msRequestFullscreen();
}
}
</script>
</body>
</html>

0 comments on commit 6535dd4

Please sign in to comment.