Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Memelite70 authored Apr 30, 2024
1 parent 6d1ad6f commit c782703
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions vex2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Ruffle</title>
<link rel="icon" type="image/x-icon" href="/ruffle-logo.png" />
<link rel="shortcut icon" type="image/x-icon" href="/ruffle-logo.png" />
</head>
<body>

<div id="ruffle" width="100%" height="100%"></div>
<script src="/Flash-Code/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("SnailBob2.swf");
});
</script>
</body>
</html>
Binary file added vex2/vex2.swf
Binary file not shown.

0 comments on commit c782703

Please sign in to comment.