mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
ducklife
This commit is contained in:
parent
5a4bb7986a
commit
6c334b087b
27
ducklife1/flash/index.html
Normal file
27
ducklife1/flash/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Duck Life 1</title>
|
||||
<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("ducklife1.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,27 +1,32 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0" />
|
||||
<title>Duck Life 1</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
<style>
|
||||
body {
|
||||
flex-direction: row;
|
||||
background-color: #343838;
|
||||
height: 90vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #dffaf1;
|
||||
margin: 10px;
|
||||
font-size: 25px;
|
||||
}
|
||||
</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("ducklife1.swf");
|
||||
});
|
||||
</script>
|
||||
<a href="unity/index.html">Unity</a>
|
||||
<a href="flash/index.html">Flash</a>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
ducklife1/unity/WebGL1Coolmath.asm.code.unityweb
Normal file
BIN
ducklife1/unity/WebGL1Coolmath.asm.code.unityweb
Normal file
Binary file not shown.
BIN
ducklife1/unity/WebGL1Coolmath.asm.framework.unityweb
Normal file
BIN
ducklife1/unity/WebGL1Coolmath.asm.framework.unityweb
Normal file
Binary file not shown.
BIN
ducklife1/unity/WebGL1Coolmath.asm.memory.unityweb
Normal file
BIN
ducklife1/unity/WebGL1Coolmath.asm.memory.unityweb
Normal file
Binary file not shown.
BIN
ducklife1/unity/WebGL1Coolmath.data.unityweb
Normal file
BIN
ducklife1/unity/WebGL1Coolmath.data.unityweb
Normal file
Binary file not shown.
1
ducklife1/unity/index.html
Normal file
1
ducklife1/unity/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset='utf8'><style>@import url(https://fonts.googleapis.com/css2?family=Inconsolata&display=swap);body{background:#000;margin:0;width:100vw;height:100vh;display:flex}.container{display:inline-block;position:fixed;margin:auto!important;top:0;bottom:0;left:0;right:0;width:100vw;height:100vh;z-index:1}.container canvas{width:100%;height:100%}.info{z-index:5;padding:25px;background:#fff;border:1px solid #000;margin:auto;position:relative;top:0;bottom:0;left:0;right:0;display:flex;align-content:center;align-items:center;justify-content:space-evenly;gap:15px;color:#777;font-family:Inconsolata,monospace;user-select:none}.info .desc{font-weight:700}.bar{width:150px;height:10px;background:#eee;border:1px solid #bbb;display:block}.bar .fill{height:100%;background:#07d;outline:1px solid #37a;display:block;z-index:7}</style></head><body><div class='info'><div class='desc'>Downloading data...</div><div class='bar'><div class='fill'></div></div></div><div class='container' id='container'></div><script src='unity.js'></script><script>var info = { wrap: document.querySelector('.info'), bar: document.querySelector('.info .bar .fill') }; UnityLoader.instantiate('container', { companyName: 'Wix Games', productName: 'Duck Life', dataUrl: 'WebGL1Coolmath.data.unityweb', asmCodeUrl: 'WebGL1Coolmath.asm.code.unityweb', asmMemoryUrl: 'WebGL1Coolmath.asm.memory.unityweb', asmFrameworkUrl: 'WebGL1Coolmath.asm.framework.unityweb', TOTAL_MEMORY: 268435456, graphicsAPI: ['WebGL 2.0', 'WebGL 1.0'], webglContextAttributes: { preserveDrawingBuffer: false }, splashScreenStyle: 'Dark', backgroundColor: '#000' }, { onProgress: (unity, progress) => (info.bar.style.width = (progress * 100) + '%', progress == 1 && info.wrap.remove()) })</script></body></html>
|
1
ducklife1/unity/unity.js
Normal file
1
ducklife1/unity/unity.js
Normal file
File diff suppressed because one or more lines are too long
27
ducklife2/flash/index.html
Normal file
27
ducklife2/flash/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Duck Life 2</title>
|
||||
<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("ducklife2.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,27 +1,32 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0" />
|
||||
<title>Duck Life 2</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
<style>
|
||||
body {
|
||||
flex-direction: row;
|
||||
background-color: #343838;
|
||||
height: 90vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #dffaf1;
|
||||
margin: 10px;
|
||||
font-size: 25px;
|
||||
}
|
||||
</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("ducklife2.swf");
|
||||
});
|
||||
</script>
|
||||
<a href="unity/index.html">Unity</a>
|
||||
<a href="flash/index.html">Flash</a>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
ducklife2/unity/WebGL2Wix.asm.code.unityweb
Normal file
BIN
ducklife2/unity/WebGL2Wix.asm.code.unityweb
Normal file
Binary file not shown.
BIN
ducklife2/unity/WebGL2Wix.asm.framework.unityweb
Normal file
BIN
ducklife2/unity/WebGL2Wix.asm.framework.unityweb
Normal file
Binary file not shown.
BIN
ducklife2/unity/WebGL2Wix.asm.memory.unityweb
Normal file
BIN
ducklife2/unity/WebGL2Wix.asm.memory.unityweb
Normal file
Binary file not shown.
BIN
ducklife2/unity/WebGL2Wix.data.unityweb
Normal file
BIN
ducklife2/unity/WebGL2Wix.data.unityweb
Normal file
Binary file not shown.
1
ducklife2/unity/index.html
Normal file
1
ducklife2/unity/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset='utf8'><style>@import url(https://fonts.googleapis.com/css2?family=Inconsolata&display=swap);body{background:#000;margin:0;width:100vw;height:100vh;display:flex}.container{display:inline-block;position:fixed;margin:auto!important;top:0;bottom:0;left:0;right:0;width:100vw;height:100vh;z-index:1}.container canvas{width:100%;height:100%}.info{z-index:5;padding:25px;background:#fff;border:1px solid #000;margin:auto;position:relative;top:0;bottom:0;left:0;right:0;display:flex;align-content:center;align-items:center;justify-content:space-evenly;gap:15px;color:#777;font-family:Inconsolata,monospace;user-select:none}.info .desc{font-weight:700}.bar{width:150px;height:10px;background:#eee;border:1px solid #bbb;display:block}.bar .fill{height:100%;background:#07d;outline:1px solid #37a;display:block;z-index:7}</style></head><body><div class='info'><div class='desc'>Downloading data...</div><div class='bar'><div class='fill'></div></div></div><div class='container' id='container'></div><script src='unity.js'></script><script>var info = { wrap: document.querySelector('.info'), bar: document.querySelector('.info .bar .fill') }; UnityLoader.instantiate('container', { companyName: 'Wix Games', productName: 'Duck Life', dataUrl: 'WebGL2Wix.data.unityweb', asmCodeUrl: 'WebGL2Wix.asm.code.unityweb', asmMemoryUrl: 'WebGL2Wix.asm.memory.unityweb', asmFrameworkUrl: 'WebGL2Wix.asm.framework.unityweb', TOTAL_MEMORY: 268435456, graphicsAPI: ['WebGL 2.0', 'WebGL 1.0'], webglContextAttributes: {preserveDrawingBuffer: false}, splashScreenStyle: 'Dark', backgroundColor: '#000000' }, { onProgress: (unity, progress) => (info.bar.style.width = (progress * 100) + '%', progress == 1 && info.wrap.remove()) })</script></body></html>
|
1
ducklife2/unity/unity.js
Normal file
1
ducklife2/unity/unity.js
Normal file
File diff suppressed because one or more lines are too long
27
ducklife3/flash/index.html
Normal file
27
ducklife3/flash/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Duck Life 3</title>
|
||||
<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("ducklife3-evolution.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,27 +1,32 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0" />
|
||||
<title>Duck Life 3</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
<style>
|
||||
body {
|
||||
flex-direction: row;
|
||||
background-color: #343838;
|
||||
height: 90vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #dffaf1;
|
||||
margin: 10px;
|
||||
font-size: 25px;
|
||||
}
|
||||
</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("ducklife3-evolution.swf");
|
||||
});
|
||||
</script>
|
||||
<a href="unity/index.html">Unity</a>
|
||||
<a href="flash/index.html">Flash</a>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
ducklife3/unity/WebGL3Wix.asm.code.unityweb
Normal file
BIN
ducklife3/unity/WebGL3Wix.asm.code.unityweb
Normal file
Binary file not shown.
BIN
ducklife3/unity/WebGL3Wix.asm.framework.unityweb
Normal file
BIN
ducklife3/unity/WebGL3Wix.asm.framework.unityweb
Normal file
Binary file not shown.
BIN
ducklife3/unity/WebGL3Wix.asm.memory.unityweb
Normal file
BIN
ducklife3/unity/WebGL3Wix.asm.memory.unityweb
Normal file
Binary file not shown.
BIN
ducklife3/unity/WebGL3Wix.data.unityweb
Normal file
BIN
ducklife3/unity/WebGL3Wix.data.unityweb
Normal file
Binary file not shown.
2
ducklife3/unity/index.html
Normal file
2
ducklife3/unity/index.html
Normal file
@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html><head><meta charset='utf8'><style>@import url(https://fonts.googleapis.com/css2?family=Inconsolata&display=swap);body{background:#000;margin:0;width:100vw;height:100vh;display:flex}.container{display:inline-block;position:fixed;margin:auto!important;top:0;bottom:0;left:0;right:0;width:100vw;height:100vh;z-index:1}.container canvas{width:100%;height:100%}.info{z-index:5;padding:25px;background:#fff;border:1px solid #000;margin:auto;position:relative;top:0;bottom:0;left:0;right:0;display:flex;align-content:center;align-items:center;justify-content:space-evenly;gap:15px;color:#777;font-family:Inconsolata,monospace;user-select:none}.info .desc{font-weight:700}.bar{width:150px;height:10px;background:#eee;border:1px solid #bbb;display:block}.bar .fill{height:100%;background:#07d;outline:1px solid #37a;display:block;z-index:7}</style></head><body><div class='info'><div class='desc'>Downloading data...</div><div class='bar'><div class='fill'></div></div></div><div class='container' id='container'></div><script src='unity.js'></script><script>var info = { wrap: document.querySelector('.info'), bar: document.querySelector('.info .bar .fill') }; UnityLoader.instantiate('container', { companyName: 'Wix Games', productName: 'Duck Life', dataUrl: 'WebGL3Wix.data.unityweb', asmCodeUrl: 'WebGL3Wix.asm.code.unityweb', asmMemoryUrl:'WebGL3Wix.asm.memory.unityweb', asmFrameworkUrl:'WebGL3Wix.asm.framework.unityweb',
|
||||
TOTAL_MEMORY: 268435456, graphicsAPI: ['WebGL 2.0', 'WebGL 1.0'], webglContextAttributes: { preserveDrawingBuffer: false }, splashScreenStyle: 'Dark', backgroundColor: '#000000' }, { onProgress: (unity, progress) => (info.bar.style.width = (progress * 100) + '%', progress == 1 && info.wrap.remove()) })</script></body></html>
|
1
ducklife3/unity/unity.js
Normal file
1
ducklife3/unity/unity.js
Normal file
File diff suppressed because one or more lines are too long
27
ducklife4/flash/index.html
Normal file
27
ducklife4/flash/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Duck Life 4</title>
|
||||
<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("ducklife4.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,27 +1,32 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0" />
|
||||
<title>Duck Life 4</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
<style>
|
||||
body {
|
||||
flex-direction: row;
|
||||
background-color: #343838;
|
||||
height: 90vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #dffaf1;
|
||||
margin: 10px;
|
||||
font-size: 25px;
|
||||
}
|
||||
</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("ducklife4.swf");
|
||||
});
|
||||
</script>
|
||||
<a href="unity/index.html">Unity</a>
|
||||
<a href="flash/index.html">Flash</a>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
ducklife4/unity/WebGL.asm.code.unityweb
Normal file
BIN
ducklife4/unity/WebGL.asm.code.unityweb
Normal file
Binary file not shown.
BIN
ducklife4/unity/WebGL.asm.framework.unityweb
Normal file
BIN
ducklife4/unity/WebGL.asm.framework.unityweb
Normal file
Binary file not shown.
BIN
ducklife4/unity/WebGL.asm.memory.unityweb
Normal file
BIN
ducklife4/unity/WebGL.asm.memory.unityweb
Normal file
Binary file not shown.
79
ducklife4/unity/index.html
Normal file
79
ducklife4/unity/index.html
Normal file
@ -0,0 +1,79 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<style>
|
||||
@import url(https://fonts.googleapis.com/css2?family=Inconsolata&display=swap);
|
||||
body {
|
||||
background: #000;
|
||||
margin: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
}
|
||||
.container {
|
||||
display: inline-block;
|
||||
position: fixed;
|
||||
margin: auto;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 1;
|
||||
}
|
||||
.info {
|
||||
z-index: 5;
|
||||
padding: 25px;
|
||||
background: #fff;
|
||||
border: 1px solid #000;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
gap: 15px;
|
||||
color: #777;
|
||||
font-family: Inconsolata, monospace;
|
||||
user-select: none;
|
||||
}
|
||||
.info .desc {
|
||||
font-weight: 700;
|
||||
}
|
||||
.bar {
|
||||
width: 150px;
|
||||
height: 10px;
|
||||
background: #eee;
|
||||
border: 1px solid #bbb;
|
||||
display: block;
|
||||
}
|
||||
.bar .fill {
|
||||
height: 100%;
|
||||
background: #07d;
|
||||
outline: 1px solid #37a;
|
||||
display: block;
|
||||
z-index: 7;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="info">
|
||||
<div class="desc">Downloading data...</div>
|
||||
<div class="bar"><div class="fill"></div></div>
|
||||
</div>
|
||||
<div
|
||||
class="container"
|
||||
id="container"></div>
|
||||
<script src="unity.js"></script>
|
||||
<script>
|
||||
var info = { wrap: document.querySelector(".info"), bar: document.querySelector(".info .bar .fill") };
|
||||
UnityLoader.instantiate("container", { TOTAL_MEMORY: 268435456, dataUrl: "WebGL.data.unityweb", asmCodeUrl: "WebGL.asm.code.unityweb", asmMemoryUrl: "WebGL.asm.memory.unityweb", asmFrameworkUrl: "WebGL.asm.framework.unityweb" }, { onProgress: (unity, progress) => ((info.bar.style.width = progress * 100 + "%"), progress == 1 && info.wrap.remove()) });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
1
ducklife4/unity/unity.js
Normal file
1
ducklife4/unity/unity.js
Normal file
File diff suppressed because one or more lines are too long
BIN
ducklife5/ducklife5.png
Normal file
BIN
ducklife5/ducklife5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
BIN
ducklife5/ducklife5.swf
Normal file
BIN
ducklife5/ducklife5.swf
Normal file
Binary file not shown.
27
ducklife5/index.html
Normal file
27
ducklife5/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Duck Life 4</title>
|
||||
<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("ducklife4.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
2403
ducklife6/Build/UnityLoader.js
Normal file
2403
ducklife6/Build/UnityLoader.js
Normal file
File diff suppressed because one or more lines are too long
BIN
ducklife6/Build/WebGL5MP-CODE.unityweb
Normal file
BIN
ducklife6/Build/WebGL5MP-CODE.unityweb
Normal file
Binary file not shown.
BIN
ducklife6/Build/WebGL5MP-FRAMEWORK.unityweb
Normal file
BIN
ducklife6/Build/WebGL5MP-FRAMEWORK.unityweb
Normal file
Binary file not shown.
BIN
ducklife6/Build/WebGL5MP-MEMORY.unityweb
Normal file
BIN
ducklife6/Build/WebGL5MP-MEMORY.unityweb
Normal file
Binary file not shown.
14
ducklife6/Build/WebGL5MP.json
Normal file
14
ducklife6/Build/WebGL5MP.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"companyName": "Mofunzone",
|
||||
"productName": "Duck Life: Space",
|
||||
"dataUrl": "https://rawcdn.githack.com/Edward358-AI/HTML5-games/3c35856e44aea5d93ebe781cb1af84570dd8512c/html5/ducklife5/play/Build/WebGL5MP-DATA.unityweb",
|
||||
"asmCodeUrl": "WebGL5MP-CODE.unityweb",
|
||||
"asmMemoryUrl": "WebGL5MP-MEMORY.unityweb",
|
||||
"asmFrameworkUrl": "WebGL5MP-FRAMEWORK.unityweb",
|
||||
"TOTAL_MEMORY": 536870912,
|
||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#231F20",
|
||||
"cacheControl": {"dataUrl": "must-revalidate"}
|
||||
}
|
BIN
ducklife6/ducklife5.png
Normal file
BIN
ducklife6/ducklife5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
33
ducklife6/index.html
Normal file
33
ducklife6/index.html
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us" style="height:100%">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Duck Life Space</title>
|
||||
<script src="Build/UnityLoader.js" type="23682bdcf0d3bd0ab46a820a-text/javascript"></script>
|
||||
<script type="23682bdcf0d3bd0ab46a820a-text/javascript">
|
||||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/WebGL5MP.json");
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body,
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#gameContainer canvas {
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="width:100%; height:100%; margin:0">
|
||||
<div id="gameContainer" style="width:100%; height:100%;"></div>
|
||||
<script src="./rocket-loader.min.js" data-cf-settings="23682bdcf0d3bd0ab46a820a-|49" defer=""></script></body>
|
||||
</html>
|
1
ducklife6/rocket-loader.min.js
vendored
Normal file
1
ducklife6/rocket-loader.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
games.json
10
games.json
@ -664,5 +664,15 @@
|
||||
"name": "Papas Burgeria",
|
||||
"directory": "papasburgeria",
|
||||
"image": "images.jpeg"
|
||||
},
|
||||
{
|
||||
"name": "Duck Life 5",
|
||||
"directory": "ducklife5",
|
||||
"image": "ducklife5.png"
|
||||
},
|
||||
{
|
||||
"name": "Duck Life 6",
|
||||
"directory": "ducklife6",
|
||||
"image": "ducklife5.png"
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user