main site

This commit is contained in:
2026-04-30 21:09:51 +00:00
parent 76c66d1641
commit 9463aa2c6f
2 changed files with 52 additions and 28 deletions

View File

@@ -1,34 +1,26 @@
<!DOCTYPE html> <!DOCTYPE html>
<script src="https://agi.armorgames.com/ruffle/ruffle.js"></script>
<html lang="en" xml:lang="en"> <html lang="en" xml:lang="en">
<head> <head>
<title>SWF Runner</title> <title>Games4</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="images/bitbot.png" /> <link rel="shortcut icon" type="image/x-icon" href="../images/favicon.png" />
<style type="text/css" media="screen"> <link rel="stylesheet" href="../styles.css">
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head> </head>
<body> <body>
<!-- 1. Load the Ruffle library --> <div class="container">
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script> <a href="index.html"><img src="images/logo.png" alt="Games4" class="logo"></a>
<p>also look at my main website <a href="http://zane.org">zane.org</a></p>
<!-- 2. The container where your Flash will live --> <h1>the coolest most nicest games website to ever exist!!1!!1</h1>
<div id="flash-container"></div> <h3>game directory:</h3>
<ul>
<!-- 3. The script to "embed" your file --> <li><a href="g/iq.html">Impossible Quiz</a></li>
<script> <li><a href="g/doom.html">Doom (very laggy)</a></li>
window.RufflePlayer = window.RufflePlayer || {}; <li><a href="g/fsonic.html">Sonic the hegyhodge</a></li>
window.addEventListener("load", (event) => { <li><a href="g/pp.html">Papa's Pizzeria</a></li>
const ruffle = window.RufflePlayer.newest(); <li><a href="g/pacman.html">Pacman</a></li>
const player = ruffle.createPlayer(); <li><a href="g/portal.html">Portal</a></li>
const container = document.getElementById("flash-container"); </ul>
container.appendChild(player); <p>powered by ruffle :D</p>
player.load("https://code.zane.org/ZaneDev/games4.zane/raw/branch/main/impossiblequiz.swf"); // Replace with your filename </div>
});
</script>
</body> </body>
</html> </html>

32
styles.css Normal file
View File

@@ -0,0 +1,32 @@
body {
background-image: url('images/arcade.png');
justify-content: center;
align-items: center;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #242424;
margin: 100px auto;
max-width: 50%;
}
.logo {
align-self: center;
justify-self: center;
display: block;
margin: -130px auto;
}
h1 {
color: #ffffff;
}
h3 {
color: #ffffff;
}
p {
color: #ffffff;
}
ul {
color: #ffffff;
}