first commit
This commit is contained in:
Executable
+1
@@ -0,0 +1 @@
|
||||
Require all granted
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Star Wars</title>
|
||||
<script src="../ruffle/ruffle.js"></script>
|
||||
<style>
|
||||
body {
|
||||
background-color: #282a36;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
#game-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- IMPORTANT: allowfullscreen must be here -->
|
||||
<div id="game-container" allowfullscreen></div>
|
||||
|
||||
<script>
|
||||
const ruffle = window.RufflePlayer.newest();
|
||||
const player = ruffle.createPlayer();
|
||||
|
||||
// Enable Ruffle fullscreen API
|
||||
player.style.width = "100%";
|
||||
player.style.height = "100%";
|
||||
|
||||
document.getElementById("game-container").appendChild(player);
|
||||
|
||||
player.load("AdventCalendar.swf");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Executable
BIN
Binary file not shown.
Executable
+28
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Penguin Dinner</title>
|
||||
<script src="../ruffle/ruffle.js"></script>
|
||||
<style>
|
||||
body {
|
||||
background-color: #282a36;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="game-container"></div>
|
||||
|
||||
<script>
|
||||
const ruffle = window.RufflePlayer.newest();
|
||||
const player = ruffle.createPlayer();
|
||||
document.getElementById("game-container").appendChild(player);
|
||||
player.load("Penguindinner.swf"); // change this for each game
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Executable
BIN
Binary file not shown.
Executable
+28
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Rollercoaster Creator</title>
|
||||
<script src="../ruffle/ruffle.js"></script>
|
||||
<style>
|
||||
body {
|
||||
background-color: #282a36;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="game-container"></div>
|
||||
|
||||
<script>
|
||||
const ruffle = window.RufflePlayer.newest();
|
||||
const player = ruffle.createPlayer();
|
||||
document.getElementById("game-container").appendChild(player);
|
||||
player.load("Rollercoaster.swf"); // change this for each game
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user