Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuSeiri committed Nov 18, 2024
0 parents commit d761790
Show file tree
Hide file tree
Showing 120 changed files with 312,359 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
101 changes: 101 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="description" content="Online Game Site" />
<meta name="keywords" content="game, online, site" />
<meta name="author" content="Seiri" />
<meta name="robots" content="index, follow" />
<meta name="theme-color" content="#1a1a1a" />
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="favicon.ico" />
<style>
body {
font-family: "Montserrat", sans-serif;
margin: 0;
padding: 0;
background-color: #1a1a1a;
color: #fff;
height: 100vh;
}

header {
background-image: linear-gradient(to right, #ff6b6b, #ffa500);
color: #fff;
padding: 10px 30px;
text-align: center;
}

nav {
background-color: #333;
padding: 10px;
text-align: center;
}

nav a {
color: #fff;
text-decoration: none;
padding: 10px;
margin: 5px;
border-radius: 5px;
transition: background-color 0.5s;
}

nav a:hover {
background-color: #727272;
}

footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
.not-found-container {
margin: 3em;
text-align: center;
font-size: 2em;
height: 100%;
}
</style>
<title>Not Found Page</title>
</head>
<!-- Google adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4988552421895566"
crossorigin="anonymous"
></script>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-PF5LNZJYLL"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-PF5LNZJYLL");
</script>
<body>
<header>
<h1>Online Game Site</h1>
</header>
<nav>
<a href="https://html-online-game.github.io/">Home</a>
<a href="https://html-online-game.github.io/policy.html">Policy</a>
</nav>
<main class="not-found-container">
<h2>404</h2>
<div>Page not found.</div>
</main>
<footer>
<p>&copy; 2024 Online Game Site. All rights reserved.</p>
</footer>
</body>
</html>
Binary file added box2d.wasm
Binary file not shown.
577 changes: 577 additions & 0 deletions box2d.wasm.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data.json

Large diffs are not rendered by default.

Binary file added favicon.ico
Binary file not shown.
9 changes: 9 additions & 0 deletions file.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
canvas, #canvas {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Binary file added fonts/rounds black.otf
Binary file not shown.
Binary file added images/airpusher-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bug-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/clouds-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/edgezone-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/env_physics-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/env_physics-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/env_plants-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/objecttiled-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerbase-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playereye-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playereye-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playereye-sheet2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerfoot-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerhand-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playermouth-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playermouth-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerpupil-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerpupil-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerskin-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerwinpose-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playerwinpose-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shadows-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shared-0-sheet0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shared-0-sheet1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shared-0-sheet2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shared-0-sheet3.png
Binary file added images/shared-0-sheet4.png
Binary file added images/shared-1-sheet0.png
Binary file added images/shared-1-sheet1.png
Binary file added images/shared-1-sheet2.png
Binary file added images/shared-1-sheet3.png
Binary file added images/tiledbackground-sheet0.png
Binary file added images/tiledbackground2-sheet0.png
Binary file added images/ui_button-sheet0.png
Binary file added images/ui_button-sheet1.png
Binary file added images/ui_fruit-sheet0.png
Binary file added images/ui_waypoint_fruit-sheet0.png
Binary file added images/ui_waypoint_fruit-sheet1.png
Binary file added images/ui_waypoint_fruit-sheet2.png
Binary file added images/watertiled-sheet0.png
28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Swingo</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
/>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="file.css" />
</head>
<script src="box2d.wasm.js"></script>
<noscript>
<div id="notSupportedWrap">
<h2 id="notSupportedTitle">This content requires JavaScript</h2>
<p class="notSupportedMessage">
JavaScript appears to be disabled. Please enable it to view this
content.
</p>
</div>
</noscript>
<script src="scripts/supportcheck.js"></script>
<script src="scripts/offlineclient.js" type="module"></script>
<script src="scripts/main.js" type="module"></script>
<script src="scripts/register-sw.js" type="module"></script>
</body>
</html>
Binary file added media/applause.webm
Binary file not shown.
Binary file added media/chomp.webm
Binary file not shown.
Binary file added media/click1.webm
Binary file not shown.
Binary file added media/drop_001.webm
Binary file not shown.
Binary file added media/drop_002.webm
Binary file not shown.
Binary file added media/drop_003.webm
Binary file not shown.
Binary file added media/drop_004.webm
Binary file not shown.
Binary file added media/drum_crash.webm
Binary file not shown.
Binary file added media/drumroll.webm
Binary file not shown.
Binary file added media/fanfare.webm
Binary file not shown.
Binary file added media/hover.webm
Binary file not shown.
Binary file added media/impactsoft_heavy_000.webm
Binary file not shown.
Binary file added media/impactsoft_heavy_001.webm
Binary file not shown.
Binary file added media/impactsoft_heavy_002.webm
Binary file not shown.
Binary file added media/impactsoft_heavy_003.webm
Binary file not shown.
Binary file added media/impactsoft_heavy_004.webm
Binary file not shown.
Binary file added media/jungle.webm
Binary file not shown.
Binary file added media/musmus-bgm-003.webm
Binary file not shown.
Binary file added media/slap.webm
Binary file not shown.
Binary file added media/slap2.webm
Binary file not shown.
Binary file added media/transition_in.webm
Binary file not shown.
Binary file added media/transition_in2.webm
Binary file not shown.
Binary file added media/transition_out.webm
Binary file not shown.
Binary file added media/water_splash_1.webm
Binary file not shown.
Binary file added media/water_splash_2.webm
Binary file not shown.
Binary file added media/water_splash_3.webm
Binary file not shown.
Binary file added media/whip1.webm
Binary file not shown.
Binary file added media/whip2.webm
Binary file not shown.
4 changes: 4 additions & 0 deletions patch/cdn/jquery/jquery.3.1.1.min.js

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions patch/cdn/phaser-ce/BlurX.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/**
* A horizontal blur filter by Mat Groves http://matgroves.com/ @Doormat23
*/
Phaser.Filter.BlurX = function (game) {

Phaser.Filter.call(this, game);

this.uniforms.blur = { type: '1f', value: 1 / 512 };

this.fragmentSrc = [

"precision mediump float;",
"varying vec2 vTextureCoord;",
"varying vec4 vColor;",
"uniform float blur;",
"uniform sampler2D uSampler;",

"void main(void) {",

"vec4 sum = vec4(0.0);",

"sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;",

"gl_FragColor = sum;",

"}"
];

};

Phaser.Filter.BlurX.prototype = Object.create(Phaser.Filter.prototype);
Phaser.Filter.BlurX.prototype.constructor = Phaser.Filter.BlurX;

Object.defineProperty(Phaser.Filter.BlurX.prototype, 'blur', {

get: function() {
return this.uniforms.blur.value / (1/7000);
},

set: function(value) {
this.dirty = true;
this.uniforms.blur.value = (1/7000) * value;
}

});
54 changes: 54 additions & 0 deletions patch/cdn/phaser-ce/BlurY.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/**
* A vertical blur filter by Mat Groves http://matgroves.com/ @Doormat23
*/
Phaser.Filter.BlurY = function (game) {

Phaser.Filter.call(this, game);

this.uniforms.blur = { type: '1f', value: 1 / 512 };

this.fragmentSrc = [

"precision mediump float;",
"varying vec2 vTextureCoord;",
"varying vec4 vColor;",
"uniform float blur;",
"uniform sampler2D uSampler;",

"void main(void) {",

"vec4 sum = vec4(0.0);",

"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;",
"sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;",

"gl_FragColor = sum;",

"}"

];

};

Phaser.Filter.BlurY.prototype = Object.create(Phaser.Filter.prototype);
Phaser.Filter.BlurY.prototype.constructor = Phaser.Filter.BlurY;

Object.defineProperty(Phaser.Filter.BlurY.prototype, 'blur', {

get: function() {
return this.uniforms.blur.value / (1/7000);
},

set: function(value) {
this.dirty = true;
this.uniforms.blur.value = (1/7000) * value;
}

});
Loading

0 comments on commit d761790

Please sign in to comment.