|
| 1 | + |
| 2 | +<head> |
| 3 | + <script src="//www.google.com/jsapi"></script> |
| 4 | + <script> |
| 5 | + window.parent.maeExportApis_(); |
| 6 | + </script> |
| 7 | + |
| 8 | + <style> |
| 9 | + body { |
| 10 | + overflow: hidden; |
| 11 | + background: #000000; |
| 12 | + margin-top: 0; |
| 13 | + margin-left: 0; |
| 14 | + color: #000000; |
| 15 | + } |
| 16 | + |
| 17 | + #startButton { |
| 18 | + display: block; |
| 19 | + width: 160px; |
| 20 | + height: 40px; |
| 21 | + background-color: #4CAF50; |
| 22 | + color: white; |
| 23 | + text-align: center; |
| 24 | + text-decoration: none; |
| 25 | + font-size: 16px; |
| 26 | + margin: 20px auto; |
| 27 | + padding: 10px 20px; |
| 28 | + border: none; |
| 29 | + border-radius: 8px; |
| 30 | + cursor: pointer; |
| 31 | + font-family: 'Press Start 2P', cursive; |
| 32 | + box-shadow: 0px 0px 10px 2px #000000; |
| 33 | + } |
| 34 | + </style> |
| 35 | + <link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet"> |
| 36 | + <style type="text/css"> |
| 37 | + #button { |
| 38 | + display: none; |
| 39 | + } |
| 40 | + |
| 41 | + .imgb_vis { |
| 42 | + animation: imgb-animation 7s linear; |
| 43 | + } |
| 44 | + |
| 45 | + @keyframes imgb-animation { |
| 46 | + 10% { |
| 47 | + transform: translateX(0); |
| 48 | + } |
| 49 | + |
| 50 | + 20% { |
| 51 | + transform: translateX(100px); |
| 52 | + } |
| 53 | + |
| 54 | + 90% { |
| 55 | + transform: translateX(100px); |
| 56 | + } |
| 57 | + |
| 58 | + 100% { |
| 59 | + transform: translateX(0); |
| 60 | + } |
| 61 | + } |
| 62 | + </style> |
| 63 | +</head> |
| 64 | + |
| 65 | +<body> |
| 66 | + <div style="width: 100vw; height: 100vh;max-width:100%"> |
| 67 | + <div id="game" style="display: none;"></div> |
| 68 | + <a style="color: white; |
| 69 | + text-align: center; |
| 70 | + font-family: 'Press Start 2P', cursive; |
| 71 | + "><h1>Cyber Punk</h1></a> |
| 72 | + <a id="startButton">Emulator Version</a> |
| 73 | + |
| 74 | + <script> |
| 75 | + document.getElementById("game").style.display = "none"; |
| 76 | + function startGame() { |
| 77 | + document.getElementById("game").style.display = "block"; |
| 78 | + document.getElementById("startButton").style.display = "none"; |
| 79 | + EJS_player = "#game"; |
| 80 | + EJS_core = "nes"; |
| 81 | + EJS_color = "#000000"; |
| 82 | + EJS_startOnLoaded = true; |
| 83 | + EJS_pathtodata = "https://cdn.jsdelivr.net/gh/a456pur/seraph@81f551ca0aa8e3d6018d32d8ac5904ac9bc78f76/storage/emulatorjs/data"; |
| 84 | + EJS_gameUrl = "/cyber_puck.jsdos"; |
| 85 | + loadGame(); |
| 86 | + } |
| 87 | + document.getElementById("startButton").addEventListener("click", startGame); |
| 88 | + function loadGame() { |
| 89 | + var script = document.createElement("script"); |
| 90 | + script.src = "https://cdn.jsdelivr.net/gh/a456pur/seraph@81f551ca0aa8e3d6018d32d8ac5904ac9bc78f76/storage/emulatorjs/data/loader.js"; |
| 91 | + document.body.appendChild(script); |
| 92 | + var script = document.createElement("script"); |
| 93 | + script.src = "https://cdn.jsdelivr.net/gh/a456pur/seraph@ae2fcc6d6a9cd051654fcc0519080db1f79cf2a7/storage/js/cloak.js"; |
| 94 | + document.body.appendChild(script); |
| 95 | + } |
| 96 | + </script> |
| 97 | + |
0 commit comments