mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
quick game
This commit is contained in:
parent
8ea7400608
commit
31769d996f
@ -734,5 +734,10 @@
|
||||
"name": "Hextris",
|
||||
"directory": "hextris",
|
||||
"image": "images/icons/apple-touch-152.png"
|
||||
},
|
||||
{
|
||||
"name": "Sprinter",
|
||||
"directory": "sprinter",
|
||||
"image": "icon.jpeg"
|
||||
}
|
||||
]
|
||||
|
BIN
sprinter/icon.jpeg
Normal file
BIN
sprinter/icon.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
27
sprinter/index.html
Normal file
27
sprinter/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Sprinter</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ruffle" width="100%" height="100%"></div>
|
||||
<script src="https://unpkg.com/@ruffle-rs/ruffle"></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("sprinter.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
sprinter/sprinter.swf
Normal file
BIN
sprinter/sprinter.swf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user