krying
Version:
krying — games hub, AI, movies, and tools
117 lines (107 loc) • 3.58 kB
HTML
<head>
<script src="//www.google.com/jsapi"></script>
<script>
window.parent.maeExportApis_();
</script>
<style>
body {
overflow: hidden;
background: #000000;
margin-top: 0;
margin-left: 0;
color: #000000;
}
#startButton {
display: block;
width: 160px;
height: 40px;
background-color: #4CAF50;
color: white;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 20px auto;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
font-family: 'Press Start 2P', cursive;
box-shadow: 0px 0px 10px 2px #000000;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<style type="text/css">
#button {
display: none;
}
.imgb_vis {
animation: imgb-animation 7s linear;
}
@keyframes imgb-animation {
10% {
transform: translateX(0);
}
20% {
transform: translateX(100px);
}
90% {
transform: translateX(100px);
}
100% {
transform: translateX(0);
}
}
</style>
</head>
<body>
<div style="width: 100vw; height: 100vh;max-width:100%">
<div id="game" style="display: none;"></div>
<a style="color: white;
text-align: center;
font-family: 'Press Start 2P', cursive;
"><h1>Kobran - Pac Man Port</h1></a>
<h2 style="color: white;
text-align: center;
font-family: 'Press Start 2P', cursive;">Select one to continue.</h2>
<a id="startButton">Emulator Version</a>
<a style=" display: block;
width: 160px;
height: 40px;
background-color: #4CAF50;
color: white;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 20px auto;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
font-family: 'Press Start 2P', cursive;
box-shadow: 0px 0px 10px 2px #000000;" href="/gameFiles/pac-man/html-version">Html Version</a>
<p style="color: white;
text-align: center;
font-family: 'Press Start 2P', cursive;">Pac-Man is not affliated with Kobran Studios/UBG</p>
<script>
document.getElementById("game").style.display = "none";
function startGame() {
document.getElementById("game").style.display = "block";
document.getElementById("startButton").style.display = "none";
EJS_player = "#game";
EJS_core = "nes";
EJS_color = "#000000";
EJS_startOnLoaded = true;
EJS_pathtodata = "https://cdn.jsdelivr.net/gh/a456pur/seraph@81f551ca0aa8e3d6018d32d8ac5904ac9bc78f76/storage/emulatorjs/data";
EJS_gameUrl = "https://cdn.jsdelivr.net/gh/bubbls/UGS-file-encryption@287710a4fac80d3ea9187e9d27c8358034b2639b/Pac-Man%20(Europe).zip";
loadGame();
}
document.getElementById("startButton").addEventListener("click", startGame);
function loadGame() {
var script = document.createElement("script");
script.src = "https://cdn.jsdelivr.net/gh/a456pur/seraph@81f551ca0aa8e3d6018d32d8ac5904ac9bc78f76/storage/emulatorjs/data/loader.js";
document.body.appendChild(script);
var script = document.createElement("script");
script.src = "https://cdn.jsdelivr.net/gh/a456pur/seraph@ae2fcc6d6a9cd051654fcc0519080db1f79cf2a7/storage/js/cloak.js";
document.body.appendChild(script);
}
</script>