Skip to content

Commit 80a949c

Browse files
committed
skibidi
1 parent 7657d1f commit 80a949c

31 files changed

+908
-1
lines changed

g/bread

Lines changed: 0 additions & 1 deletion
This file was deleted.
40.3 MB
Binary file not shown.

g/funnyshooter2/Build/FunnyShooter2_Poki.framework.js.unityweb

Lines changed: 7 additions & 0 deletions
Large diffs are not rendered by default.

g/funnyshooter2/Build/FunnyShooter2_Poki.loader.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
22 MB
Binary file not shown.

g/funnyshooter2/favicon.ico

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>404</title>
7+
<style>
8+
body {
9+
margin: 0;
10+
padding: 0;
11+
height: 100vh;
12+
display: flex;
13+
flex-direction: column;
14+
justify-content: center;
15+
align-items: center;
16+
background-color: #f0f8ff;
17+
font-family: Arial, sans-serif;
18+
overflow: hidden;
19+
}
20+
21+
.container {
22+
text-align: center;
23+
z-index: 1;
24+
}
25+
26+
h1 {
27+
font-size: 3rem;
28+
color: #2c3e50;
29+
}
30+
31+
p {
32+
font-size: 1.2rem;
33+
color: #7f8c8d;
34+
margin-bottom: 2rem;
35+
}
36+
37+
a {
38+
display: inline-block;
39+
padding: 10px 20px;
40+
background-color: #3498db;
41+
color: white;
42+
text-decoration: none;
43+
border-radius: 5px;
44+
transition: background-color 0.3s;
45+
}
46+
47+
a:hover {
48+
background-color: #2980b9;
49+
}
50+
51+
.duck {
52+
position: absolute;
53+
width: 80px;
54+
height: 80px;
55+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><ellipse cx="60" cy="60" rx="40" ry="30" fill="%23FFD700"/><circle cx="75" cy="50" r="10" fill="%23FFD700"/><circle cx="80" cy="45" r="3" fill="%23000"/><circle cx="85" cy="40" r="5" fill="%23FF6B6B"/><ellipse cx="30" cy="65" rx="15" ry="10" fill="%23FFD700"/></svg>');
56+
background-size: contain;
57+
background-repeat: no-repeat;
58+
transition: left 2s linear, top 2s linear;
59+
pointer-events: none;
60+
}
61+
</style>
62+
</head>
63+
<body>
64+
<div class="container">
65+
<h1>404</h1>
66+
<p>Oh no! The page you're looking for has flown away.</p>
67+
<p>Our duck is trying to find it, but seems to be lost too!</p>
68+
<a href="/">Return Home</a>
69+
</div>
70+
71+
<div class="duck" id="duck"></div>
72+
73+
<script>
74+
const duck = document.getElementById("duck");
75+
const screenWidth = window.innerWidth;
76+
const screenHeight = window.innerHeight;
77+
78+
// Initial position
79+
let posX = Math.random() * (screenWidth - 80);
80+
let posY = Math.random() * (screenHeight - 80);
81+
82+
duck.style.left = posX + "px";
83+
duck.style.top = posY + "px";
84+
85+
function moveDuck() {
86+
// Random direction and distance
87+
const moveX = (Math.random() - 0.5) * 200;
88+
const moveY = (Math.random() - 0.5) * 200;
89+
90+
// Calculate new position
91+
let newX = posX + moveX;
92+
let newY = posY + moveY;
93+
94+
// Keep duck within bounds
95+
newX = Math.max(0, Math.min(screenWidth - 80, newX));
96+
newY = Math.max(0, Math.min(screenHeight - 80, newY));
97+
98+
// Update position
99+
posX = newX;
100+
posY = newY;
101+
102+
duck.style.left = posX + "px";
103+
duck.style.top = posY + "px";
104+
105+
// Flip duck based on direction
106+
if (moveX > 0) {
107+
duck.style.transform = "scaleX(-1)";
108+
} else {
109+
duck.style.transform = "scaleX(1)";
110+
}
111+
112+
// Schedule next move
113+
setTimeout(moveDuck, 2000);
114+
}
115+
116+
// Start duck movement
117+
setTimeout(moveDuck, 1000);
118+
119+
// Make duck move when clicked/tapped
120+
duck.addEventListener("click", moveDuck);
121+
122+
// Handle window resize
123+
window.addEventListener("resize", function () {
124+
screenWidth = window.innerWidth;
125+
screenHeight = window.innerHeight;
126+
});
127+
</script>
128+
</body>
129+
</html>

g/funnyshooter2/index.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
<title>ducky</title>
7+
<script>
8+
window.config = {
9+
loader: "unity-2020",
10+
debug: false,
11+
maxRatio: 16 / 9,
12+
minRatio: 9 / 16,
13+
14+
title: "Funny Shooter 2",
15+
thumbnail:
16+
"patch/png/null.png?https:\/\/img.poki.com\/894abba63a6b23fed823f404831f444f.jpeg",
17+
numScreenshots: 4,
18+
19+
unityVersion: "2020.3.37f1",
20+
unityWebglBuildUrl: "",
21+
22+
fileSize: 33,
23+
cachedDecompressedFileSizes: {
24+
"FunnyShooter2_Poki.data.unityweb": 29010101,
25+
"FunnyShooter2_Poki.framework.js.unityweb": 74477,
26+
"FunnyShooter2_Poki.loader.js": 110821,
27+
"FunnyShooter2_Poki.wasm.unityweb": 4670173,
28+
},
29+
metadata: {
30+
poki_template_version: 1,
31+
background_color: "#FFFFFF",
32+
background_filename: "FunnyShooter2_Poki.jpg",
33+
code_filename: "FunnyShooter2_Poki.wasm.unityweb",
34+
company_name: "GoGoMan",
35+
data_filename: "FunnyShooter2_Poki.data.unityweb",
36+
decompression_fallback: "Brotli",
37+
development_player: "false",
38+
framework_filename: "FunnyShooter2_Poki.framework.js.unityweb",
39+
height: "600",
40+
loader_filename: "FunnyShooter2_Poki.loader.js",
41+
product_name: "Funny Shooter 2",
42+
product_version: "1.0.1",
43+
splash_screen_style: "Dark",
44+
total_memory: "268435456",
45+
unity_version: "2020.3.37f1",
46+
use_data_caching: "true",
47+
use_threads: "false",
48+
use_wasm: "true",
49+
use_webgl_1_0: "true",
50+
use_webgl_2_0: "true",
51+
width: "960",
52+
},
53+
};
54+
</script>
55+
<!-- will be copied to the resulting head //-->
56+
</head>
57+
<body>
58+
<script src="patch/js/poki-master-loader.js"></script>
59+
<!-- will be copied to the resulting body //-->
60+
<!-- will also be copied to the resulting body //-->
61+
</body>
62+
</html>
22.5 KB
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
"use strict";
2+
var scripts = document.getElementsByTagName("script")
3+
, scriptUrl = scripts[scripts.length - 1].src
4+
, root = scriptUrl.split("master-loader.js")[0]
5+
, loaders = {
6+
unity: "unity.js",
7+
"unity-beta": "unity-beta.js",
8+
"unity-2020": "unity-2020.js"
9+
};
10+
if (0 <= window.location.href.indexOf("pokiForceLocalLoader") && (loaders.unity = "/unity/dist/unity.js",
11+
loaders["unity-beta"] = "/unity-beta/dist/unity-beta.js",
12+
loaders["unity-2020"] = "/unity-2020/dist/unity-2020.js",
13+
root = "/loaders"),
14+
!window.config)
15+
throw Error("window.config not found");
16+
var loader = loaders[window.config.loader];
17+
if (!loader)
18+
throw Error('Loader "' + window.config.loader + '" not found');
19+
if (!window.config.unityWebglLoaderUrl) {
20+
var versionSplit = window.config.unityVersion ? window.config.unityVersion.split(".") : []
21+
, year = versionSplit[0]
22+
, minor = versionSplit[1];
23+
switch (year) {
24+
case "2019":
25+
window.config.unityWebglLoaderUrl = 1 === minor ? "patch/js/UnityLoader.2019.1.js" : "patch/js/UnityLoader.2019.2.js";
26+
break;
27+
default:
28+
window.config.unityWebglLoaderUrl = "patch/js/UnityLoader.js"
29+
}
30+
}
31+
var sdkScript = document.createElement("script");
32+
sdkScript.src = "patch/js/poki-sdk.js",
33+
sdkScript.onload = function() {
34+
var i = document.createElement("script");
35+
i.src = root + loader,
36+
document.body.appendChild(i)
37+
}
38+
,
39+
document.body.appendChild(sdkScript);

0 commit comments

Comments
 (0)