Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
red balls
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttferren authored Jan 7, 2024
1 parent cda3c36 commit 018d687
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 3 deletions.
12 changes: 12 additions & 0 deletions games.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,18 @@
<img alt="img" src="/images/games/riddle-school-5.png"/>
<p class="game-title">Riddle School 5</p>
</a>
</div>
<div class="game">
<a href="/games/redball3/">
<img alt="img" src="/images/games/redball3.png"/>
<p class="game-title">Red Ball 3</p>
</a>
</div>
<div class="game">
<a href="/games/redball4/">
<img alt="img" src="/images/games/redball4.webp"/>
<p class="game-title">Red Ball 4</p>
</a>
</div>
<div class="game">
<a href="/games/achievement-unlocked">
Expand Down
5 changes: 2 additions & 3 deletions games/offlineparadise/game.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

<title>Offline Paradise | Opium</title>
</head>
<body style="-webkit-user-select: none; user-select: none; overscroll: none; overflow: hidden; border: none; margin: none; padding: none;">
<body style="-webkit-user-select: none; user-select: none; overflow: hidden; border: none; margin: none; padding: none;">
<meta charset="utf-8" />
<style>
body {
position: fixed;
background: #222;
-webkit-user-select: none;
user-select: none;
overscroll: none;
overflow: hidden;
border: none;
margin: none;
Expand Down Expand Up @@ -44,7 +43,7 @@
object-fit: contain;
}
</style>
<canvas width="1920" height="1080" style="-webkit-user-select: none; user-select: none; overscroll: none; overflow: hidden; border: none; margin: none; padding: none;"></canvas>
<canvas width="1920" height="1080" style="-webkit-user-select: none; user-select: none; overflow: hidden; border: none; margin: none; padding: none;"></canvas>
<div class="overlay">Generating assets...</div>
<script>
"use strict";
Expand Down
27 changes: 27 additions & 0 deletions games/redball3/game.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<html>
<head>

<script src="/js/all.js"></script>


<meta name="viewport" content="width=device-width, initial-scale=1" />
<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("redball3.swf");
});
</script>
</body>
</html>
41 changes: 41 additions & 0 deletions games/redball3/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/css/footer.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4874616183592939"
crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="🕹Opium Games is a free unblocked games service hosting over 100+ unblocked games, also includes many selectable proxies and emulators to use along with tab cloakers and history hiders! 🎮">
<meta name="author" content="CybriaTech">
<meta name="keywords" content="games, unblocked games, unblocked games, video games, unity, webgl, swf, html5, cybriagames, cybriagames sequel, emulators">
<link rel="stylesheet" href="/css/header.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
<link rel="icon" href="/images/logo/favi/logo-16x16.png" sizes="16x16">
<link rel="icon" href="/images/logo/favi/logo-32x32.png" sizes="32x32">
<link rel="apple-touch-icon" href="/images/logo/favi/apple-touch-icon.png" sizes="180x180">
<title>Red Ball 3 | Opium</title>
<link rel="stylesheet" href="/css/index.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-20CSCVKLF3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-20CSCVKLF3');
</script>
</head>
<body style="overflow: hidden;">
<main>
<iframe src="game.html" style="width: 100vw; height: 100vh;"></iframe>
</main>
<script>
var elem = document.querySelector('.grid');
var msnry = new Masonry( elem, {
itemSelector: '.grid-item',
columnWidth: 200
});
</script>
</body>
</html>
Binary file added games/redball3/redball3.swf
Binary file not shown.
Binary file added images/games/redball3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 018d687

Please sign in to comment.