mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 18:12:08 -05:00
games and fixes
This commit is contained in:
parent
332ee1a26e
commit
e59e807d6e
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"desc": "This update comes with major improvements, such as new games!",
|
||||
"timestamp": "1707606758"
|
||||
"version": "1.0.1",
|
||||
"desc": "This update comes with 10 new games and a few fixes! (courtesy of astra!!)",
|
||||
"timestamp": "1709126721"
|
||||
}
|
||||
|
@ -1453,5 +1453,10 @@
|
||||
"name": "Thumb Fighter",
|
||||
"directory": "thumbfighter",
|
||||
"image": "thumbfighter.png"
|
||||
},
|
||||
{
|
||||
"name": "The Enchanted Cave 2",
|
||||
"directory": "enchantedcave2",
|
||||
"image": "icon.png"
|
||||
}
|
||||
]
|
||||
|
@ -116,6 +116,8 @@
|
||||
</div></a
|
||||
>
|
||||
<p id="message">games loading..</p>
|
||||
<p id="message">games not loading? click ctrl + shift + r</p>
|
||||
<button id="message" onclick='$.getJSON("/data/games.json", function (data) {loadGames(data)})'>Games not loading? Click here.</button>
|
||||
</div>
|
||||
<div id="adcontainer">
|
||||
<script type="text/javascript" src="//snailthreatenedinvited.com/f9/78/06/f97806fd0f338057a67abb4e5e710970.js"></script>
|
||||
@ -133,13 +135,6 @@
|
||||
</footer>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
if (Math.random() < 0.1 && localStorage.getItem("selenite.adblock") != "true") {
|
||||
let popunder = document.createElement("script");
|
||||
popunder.src = "//snailthreatenedinvited.com/6e/cd/f3/6ecdf31757f29a5aea10c063c283af9b.js";
|
||||
popunder.type = "text/javascript";
|
||||
document.body.appendChild(popunder);
|
||||
document.getElementById("popunder").style.display = "block";
|
||||
}
|
||||
const adContainers = document.querySelectorAll("[id=adcontainer]");
|
||||
if (adContainers.length > 0) {
|
||||
for (let i = 0; i < adContainers.length; i++) {
|
||||
|
BIN
semag/enchantedcave2/icon.png
Normal file
BIN
semag/enchantedcave2/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 507 KiB |
28
semag/enchantedcave2/index.html
Normal file
28
semag/enchantedcave2/index.html
Normal file
@ -0,0 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>The Enchanted Cave 2</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("tec2.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
semag/enchantedcave2/tec2.swf
Normal file
BIN
semag/enchantedcave2/tec2.swf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user