bitlife, ducklife 1-3, ovo, there is no game, universal paperclips
BIN
bitlife/Build/BitLife.data.unityweb
Normal file
16
bitlife/Build/BitLife.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"companyName": "Moana Games",
|
||||
"productName": "BitLife",
|
||||
"productVersion": "1.0",
|
||||
"dataUrl": "BitLife.data.unityweb",
|
||||
"wasmCodeUrl": "BitLife.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "BitLife.wasm.framework.unityweb",
|
||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
|
||||
"webglContextAttributes": { "preserveDrawingBuffer": false },
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#231F20",
|
||||
"cacheControl": { "default": "must-revalidate" },
|
||||
"developmentBuild": false,
|
||||
"multithreading": false,
|
||||
"unityVersion": "2019.4.21f1"
|
||||
}
|
BIN
bitlife/Build/BitLife.wasm.code.unityweb
Normal file
BIN
bitlife/Build/BitLife.wasm.framework.unityweb
Normal file
4338
bitlife/Build/UnityLoader.js
Normal file
23
bitlife/TemplateData/UnityProgress.js
Normal file
@ -0,0 +1,23 @@
|
||||
function UnityProgress(unityInstance, progress) {
|
||||
if (!unityInstance.Module) return;
|
||||
if (!unityInstance.logo) {
|
||||
unityInstance.logo = document.createElement('div');
|
||||
unityInstance.logo.className = 'logo ' + unityInstance.Module.splashScreenStyle;
|
||||
unityInstance.container.appendChild(unityInstance.logo);
|
||||
}
|
||||
if (!unityInstance.progress) {
|
||||
unityInstance.progress = document.createElement('div');
|
||||
unityInstance.progress.className = 'progress ' + unityInstance.Module.splashScreenStyle;
|
||||
unityInstance.progress.empty = document.createElement('div');
|
||||
unityInstance.progress.empty.className = 'empty';
|
||||
unityInstance.progress.appendChild(unityInstance.progress.empty);
|
||||
unityInstance.progress.full = document.createElement('div');
|
||||
unityInstance.progress.full.className = 'full';
|
||||
unityInstance.progress.appendChild(unityInstance.progress.full);
|
||||
unityInstance.container.appendChild(unityInstance.progress);
|
||||
}
|
||||
unityInstance.progress.full.style.width = 100 * progress + '%';
|
||||
unityInstance.progress.empty.style.width = 100 * (1 - progress) + '%';
|
||||
if (progress == 1)
|
||||
unityInstance.logo.style.display = unityInstance.progress.style.display = 'none';
|
||||
}
|
BIN
bitlife/TemplateData/progressEmpty.Dark.png
Normal file
After Width: | Height: | Size: 113 B |
BIN
bitlife/TemplateData/progressFull.Dark.png
Normal file
After Width: | Height: | Size: 75 B |
BIN
bitlife/bitlife.png
Normal file
After Width: | Height: | Size: 47 KiB |
283
bitlife/index.html
Normal file
@ -0,0 +1,283 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
||||
/>
|
||||
<title>BitLife</title>
|
||||
<link rel="icon" href="./splash.png" />
|
||||
<link rel="shortcut icon" href="./splash.png" />
|
||||
|
||||
<!-- WEBGL GAME IN FULLSCREEN - COPY AND PASTE THIS CSS -->
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Myriad Pro', Myriad, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
font-style: regular;
|
||||
font-family: 'Myriad Pro', Myriad, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.webgl-content {
|
||||
background: #333;
|
||||
}
|
||||
#errorBrowserBlock,
|
||||
#loadingBlock,
|
||||
.webgl-content {
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
canvas {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
#gameContainer {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
#fullScreenButton,
|
||||
#logoname {
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
background-color: transparent;
|
||||
background-image: url(../img/fullScreen_on.png);
|
||||
background-size: 35px 35px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
#logoname {
|
||||
background-image: url(../img/logo-big.png);
|
||||
left: 15px;
|
||||
bottom: 11px;
|
||||
width: 141px;
|
||||
height: 20px;
|
||||
background-size: 141px 20px;
|
||||
}
|
||||
.subtitle {
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
padding-bottom: 15px;
|
||||
padding-top: 15px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
.logo {
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
width: 265px;
|
||||
height: 60px;
|
||||
}
|
||||
.logo-game {
|
||||
height: 150px;
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: auto;
|
||||
margin-top: 5px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#errorBrowserBlock,
|
||||
#loadingBlock {
|
||||
background: #333;
|
||||
background-size: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
.cover {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
-moz-background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
background-size: cover;
|
||||
opacity: 0.5;
|
||||
filter: blur(16px);
|
||||
}
|
||||
#errorContent,
|
||||
#progressBar,
|
||||
#warningBrowserBlock,
|
||||
#warningMobileBlock {
|
||||
height: 25vh;
|
||||
width: 40vw;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
#progressBar {
|
||||
height: 8vh;
|
||||
color: #fff;
|
||||
font-size: 4vh;
|
||||
}
|
||||
#errorContent,
|
||||
#warningBrowserBlock,
|
||||
#warningMobileBlock {
|
||||
margin-top: 15vh;
|
||||
color: #fff;
|
||||
font-size: 2.3vh;
|
||||
}
|
||||
.browserIcons {
|
||||
display: inline-flex;
|
||||
margin-top: 2vh;
|
||||
}
|
||||
.browserIcons a {
|
||||
width: 150px;
|
||||
}
|
||||
#errorContent {
|
||||
font-size: 3vh;
|
||||
margin-top: 5vh;
|
||||
}
|
||||
.centered {
|
||||
height: 100%;
|
||||
max-width: 770px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.webgl-content * {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.webgl-content {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.progress,
|
||||
.webgl-content .logo {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 45%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.webgl-content .logo {
|
||||
background: url(logo.png) no-repeat center/contain;
|
||||
width: 130px;
|
||||
height: 130px;
|
||||
}
|
||||
.webgl-content .progress {
|
||||
height: 18px;
|
||||
width: 141px;
|
||||
margin-top: 90px;
|
||||
}
|
||||
.webgl-content .progress .empty {
|
||||
background: url(TemplateData/progressEmpty.Light.png) no-repeat right/cover;
|
||||
float: right;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.webgl-content .progress .full {
|
||||
background: url(TemplateData/progressFull.Light.png) no-repeat left/cover;
|
||||
float: left;
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.webgl-content .logo.Dark {
|
||||
background-image: url(logo.png);
|
||||
}
|
||||
.webgl-content .progress.Dark .empty {
|
||||
background-image: url(TemplateData/progressEmpty.Dark.png);
|
||||
}
|
||||
.webgl-content .progress.Dark .full {
|
||||
background-image: url(TemplateData/progressFull.Dark.png);
|
||||
}
|
||||
.webgl-content .footer {
|
||||
margin-top: 5px;
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
font-size: 18px;
|
||||
}
|
||||
.fullscreen,
|
||||
.title,
|
||||
.webgl-content .footer .webgl-logo {
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
background: transparent center no-repeat;
|
||||
}
|
||||
.webgl-content .footer .webgl-logo {
|
||||
background-image: url(TemplateData/webgl-logo.png);
|
||||
width: 204px;
|
||||
float: left;
|
||||
}
|
||||
.webgl-content .footer .title {
|
||||
margin-right: 10px;
|
||||
float: right;
|
||||
}
|
||||
.webgl-content .footer .fullscreen {
|
||||
background-image: url(TemplateData/fullscreen.png);
|
||||
width: 38px;
|
||||
float: right;
|
||||
}
|
||||
body,
|
||||
html {
|
||||
margin: 0 auto;
|
||||
padding: 0 auto;
|
||||
width: 62vh;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#links2 {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
background-color: #fff;
|
||||
border-top-left-radius: 5px;
|
||||
}
|
||||
#links2 ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#links2 ul li {
|
||||
display: inline;
|
||||
}
|
||||
#links2 ul li a {
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
#links2 ul li a.visited {
|
||||
color: #000;
|
||||
}
|
||||
#links2 ul li a:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="TemplateData/UnityProgress.js"></script>
|
||||
<script src="Build/UnityLoader.js"></script>
|
||||
<script>
|
||||
var unityInstance = UnityLoader.instantiate('gameContainer', 'Build/BitLife.json', {
|
||||
onProgress: UnityProgress
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="webgl-content">
|
||||
<!-- WEBGL GAME IN FULLSCREEN - COPY AND PASTE THIS CSS - IMPORTANT: WIDTH: 100%; HEIGHT:100% -->
|
||||
<div id="gameContainer" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
bitlife/logo.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
bitlife/splash.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
ducklife1/ducklife1.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
ducklife1/ducklife1.swf
Normal file
27
ducklife1/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>
|
BIN
ducklife2/ducklife2.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
ducklife2/ducklife2.swf
Normal file
27
ducklife2/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>
|
BIN
ducklife3/ducklife3-evolution.swf
Normal file
BIN
ducklife3/ducklife3.png
Normal file
After Width: | Height: | Size: 100 KiB |
27
ducklife3/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>
|
35
games.json
@ -343,5 +343,40 @@
|
||||
"name": "This Is The Only Level 2",
|
||||
"directory": "thisistheonlylevel2",
|
||||
"image": "icon.png"
|
||||
},
|
||||
{
|
||||
"name": "Bitlife",
|
||||
"directory": "bitlife",
|
||||
"image": "bitlife.png"
|
||||
},
|
||||
{
|
||||
"name": "Duck Life 1",
|
||||
"directory": "ducklife1",
|
||||
"image": "ducklife1.png"
|
||||
},
|
||||
{
|
||||
"name": "Duck Life 2",
|
||||
"directory": "ducklife2",
|
||||
"image": "ducklife2.png"
|
||||
},
|
||||
{
|
||||
"name": "Duck Life 3",
|
||||
"directory": "ducklife3",
|
||||
"image": "ducklife3.png"
|
||||
},
|
||||
{
|
||||
"name": "ovo",
|
||||
"directory": "ovo",
|
||||
"image": "ovo3.png"
|
||||
},
|
||||
{
|
||||
"name": "There Is No Game",
|
||||
"directory": "thereisnogame",
|
||||
"image": "icon-256.png"
|
||||
},
|
||||
{
|
||||
"name": "Universal Paperclips",
|
||||
"directory": "universal-paperclips",
|
||||
"image": "universal-paperclips.png"
|
||||
}
|
||||
]
|
7
ovo/GameAnalytics.js
Normal file
814
ovo/Tween.js
Normal file
@ -0,0 +1,814 @@
|
||||
/**
|
||||
* Tween.js - Licensed under the MIT license
|
||||
* https://github.com/tweenjs/tween.js
|
||||
* ----------------------------------------------
|
||||
*
|
||||
* See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
|
||||
* Thank you all, you're awesome!
|
||||
*/
|
||||
|
||||
var TWEEN = TWEEN || (function () {
|
||||
|
||||
var _tweens = [];
|
||||
|
||||
return {
|
||||
|
||||
getAll: function () {
|
||||
|
||||
return _tweens;
|
||||
|
||||
},
|
||||
|
||||
removeAll: function () {
|
||||
|
||||
_tweens = [];
|
||||
|
||||
},
|
||||
|
||||
add: function (tween) {
|
||||
|
||||
_tweens.push(tween);
|
||||
|
||||
},
|
||||
|
||||
remove: function (tween) {
|
||||
|
||||
var i = _tweens.indexOf(tween);
|
||||
|
||||
if (i !== -1) {
|
||||
_tweens.splice(i, 1);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
update: function (time, preserve) {
|
||||
|
||||
if (_tweens.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var i = 0;
|
||||
|
||||
time = time !== undefined ? time : TWEEN.now();
|
||||
|
||||
while (i < _tweens.length) {
|
||||
|
||||
if (_tweens[i].update(time) || preserve) {
|
||||
i++;
|
||||
} else {
|
||||
_tweens.splice(i, 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
|
||||
// Include a performance.now polyfill.
|
||||
// In node.js, use process.hrtime.
|
||||
if (typeof (window) === 'undefined' && typeof (process) !== 'undefined') {
|
||||
TWEEN.now = function () {
|
||||
var time = process.hrtime();
|
||||
|
||||
// Convert [seconds, nanoseconds] to milliseconds.
|
||||
return time[0] * 1000 + time[1] / 1000000;
|
||||
};
|
||||
}
|
||||
// In a browser, use window.performance.now if it is available.
|
||||
else if (typeof (window) !== 'undefined' &&
|
||||
window.performance !== undefined &&
|
||||
window.performance.now !== undefined) {
|
||||
// This must be bound, because directly assigning this function
|
||||
// leads to an invocation exception in Chrome.
|
||||
TWEEN.now = window.performance.now.bind(window.performance);
|
||||
}
|
||||
// Use Date.now if it is available.
|
||||
else if (Date.now !== undefined) {
|
||||
TWEEN.now = Date.now;
|
||||
}
|
||||
// Otherwise, use 'new Date().getTime()'.
|
||||
else {
|
||||
TWEEN.now = function () {
|
||||
return new Date().getTime();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
TWEEN.Tween = function (object) {
|
||||
|
||||
var _object = null;
|
||||
if(object) _object = object;
|
||||
|
||||
|
||||
var _duration = 1000;
|
||||
var _time = 0;
|
||||
var _startTime = null;
|
||||
|
||||
var _reversed = false;
|
||||
this.isPlaying = false;
|
||||
|
||||
|
||||
var _easingFunction = TWEEN.Easing.Linear.None;
|
||||
var _interpolationFunction = TWEEN.Interpolation.Linear;
|
||||
|
||||
|
||||
var _valuesStartOrigin = null;
|
||||
var _valuesEndOrigin = null;
|
||||
var _valuesStart = {};
|
||||
var _valuesEnd = {};
|
||||
|
||||
|
||||
|
||||
var _isReset = true;
|
||||
|
||||
|
||||
|
||||
var _deltas = {};
|
||||
var _deltas_init = {};
|
||||
|
||||
var _onCompleteCallback = null;
|
||||
var _onCompleteCallbackScope = null;
|
||||
var _onReverseCompleteCallback = null;
|
||||
var _onReverseCompleteCallbackScope = null;
|
||||
|
||||
|
||||
this.setObject = function (object) {
|
||||
if(object)
|
||||
_object = object;
|
||||
};
|
||||
|
||||
//Computes new deltas to tween to
|
||||
this.to = function (properties, duration) {
|
||||
_isReset = true;
|
||||
if (duration !== undefined) {
|
||||
_duration = duration;
|
||||
}
|
||||
|
||||
var property, start=0, end=0;
|
||||
for (property in properties)
|
||||
{
|
||||
if (_object[property] === undefined) {
|
||||
continue;
|
||||
}
|
||||
|
||||
start = _object[property];
|
||||
end = properties[property];
|
||||
_deltas[property] = end - start;
|
||||
_deltas_init[property] = _deltas[property];
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
|
||||
this.reverse = function () {
|
||||
|
||||
var property;
|
||||
|
||||
if(this.isPlaying){
|
||||
this.isPlaying = false;
|
||||
for (property in _deltas) {
|
||||
if(_reversed){
|
||||
_deltas[property] = (1-_value)*_deltas[property];
|
||||
}else{
|
||||
_deltas[property] = _deltas_init[property]-(1-_value)*_deltas[property];
|
||||
}
|
||||
}
|
||||
|
||||
if(_reversed){
|
||||
//console.log("start reverse, currently playing, reverse");
|
||||
}else{
|
||||
//console.log("start reverse, currently playing, no reverse");
|
||||
}
|
||||
}else{
|
||||
//console.log("start reverse, currently not playing; ");
|
||||
for (property in _deltas)
|
||||
{
|
||||
_deltas[property] = _deltas_init[property];
|
||||
}
|
||||
}
|
||||
|
||||
_isReset = false;
|
||||
_prevValue = 0;
|
||||
_reversed = true;
|
||||
_time = TWEEN.now();
|
||||
_startTime = TWEEN.now();
|
||||
this.isPlaying = true;
|
||||
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
this.start = function (time) {
|
||||
var property;
|
||||
|
||||
|
||||
if(this.isPlaying){
|
||||
this.isPlaying = false;
|
||||
|
||||
if(!_isReset){
|
||||
for (property in _deltas) {
|
||||
if(_reversed){
|
||||
_deltas[property] = _deltas_init[property]-(1-_value)*_deltas[property];
|
||||
}else{
|
||||
_deltas[property] = (1-_value)*_deltas[property];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(_reversed){
|
||||
//console.log("start, currently playing, reverse");
|
||||
}else{
|
||||
//console.log("start, currently playing, no reverse");
|
||||
}
|
||||
}else{
|
||||
//console.log("start, currently not playing; ");
|
||||
for (property in _deltas)
|
||||
{
|
||||
_deltas[property] = _deltas_init[property];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
_isReset = false;
|
||||
_reversed = false;
|
||||
_prevValue = 0;
|
||||
_time = TWEEN.now();
|
||||
_startTime = _time;
|
||||
this.isPlaying = true;
|
||||
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
var _value = 0; //from 0 to 1 ; output of the tween function
|
||||
var _dvalue = 0; //delta _value and the one of the previous dt
|
||||
var _prevValue = 0; //_value of the previous dt
|
||||
|
||||
this.update = function (dt) {
|
||||
|
||||
var property;
|
||||
var elapsed; //% of the duration; from 0 to 1;
|
||||
|
||||
_time = _time + dt;
|
||||
if (_time < _startTime) {
|
||||
return true;
|
||||
}
|
||||
elapsed = (_time - _startTime) / _duration;
|
||||
elapsed = elapsed > 1 ? 1 : elapsed;
|
||||
|
||||
|
||||
_value = _easingFunction(elapsed);
|
||||
_dvalue = _value - _prevValue;
|
||||
_prevValue = _value;
|
||||
|
||||
var dv = 0;
|
||||
|
||||
for (property in _deltas) {
|
||||
if(_reversed){
|
||||
_object[property] += -_dvalue*_deltas[property];
|
||||
}else{
|
||||
_object[property] += _dvalue*_deltas[property];
|
||||
}
|
||||
|
||||
|
||||
/*_object[property] = start + dValues[property] * value;
|
||||
dv = (start + (end - start) * value) - _object[property];*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (elapsed === 1) {
|
||||
if (_onCompleteCallback !== null && !_reversed) {
|
||||
if(_onCompleteCallbackScope!=null){
|
||||
_onCompleteCallback.call(_onCompleteCallbackScope);
|
||||
}else{
|
||||
_onCompleteCallback.call(_object, _object);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ((_onReverseCompleteCallback !== null) && _reversed) {
|
||||
if(_onReverseCompleteCallbackScope!=null){
|
||||
_onReverseCompleteCallback.call(_onReverseCompleteCallbackScope);
|
||||
}else{
|
||||
_onReverseCompleteCallback.call(_object, _object);
|
||||
}
|
||||
}
|
||||
|
||||
this.isPlaying = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
this.onComplete = function (callback,scope) {
|
||||
_onCompleteCallback = callback;
|
||||
_onCompleteCallbackScope = scope;
|
||||
return this;
|
||||
};
|
||||
|
||||
this.onReverseComplete = function (callback,scope) {
|
||||
|
||||
_onReverseCompleteCallback = callback;
|
||||
_onReverseCompleteCallbackScope = scope;
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
|
||||
this.easing = function (easing) {
|
||||
|
||||
_easingFunction = easing;
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
this.interpolation = function (interpolation) {
|
||||
|
||||
_interpolationFunction = interpolation;
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
TWEEN.Easing = {
|
||||
|
||||
Linear: {
|
||||
|
||||
None: function (k) {
|
||||
|
||||
return k;
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Quadratic: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return k * k;
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return k * (2 - k);
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * k * k;
|
||||
}
|
||||
|
||||
return - 0.5 * (--k * (k - 2) - 1);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Cubic: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return k * k * k;
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return --k * k * k + 1;
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * k * k * k;
|
||||
}
|
||||
|
||||
return 0.5 * ((k -= 2) * k * k + 2);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Quartic: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return k * k * k * k;
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return 1 - (--k * k * k * k);
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * k * k * k * k;
|
||||
}
|
||||
|
||||
return - 0.5 * ((k -= 2) * k * k * k - 2);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Quintic: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return k * k * k * k * k;
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return --k * k * k * k * k + 1;
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * k * k * k * k * k;
|
||||
}
|
||||
|
||||
return 0.5 * ((k -= 2) * k * k * k * k + 2);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Sinusoidal: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return 1 - Math.cos(k * Math.PI / 2);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return Math.sin(k * Math.PI / 2);
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
return 0.5 * (1 - Math.cos(Math.PI * k));
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Exponential: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return k === 0 ? 0 : Math.pow(1024, k - 1);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return k === 1 ? 1 : 1 - Math.pow(2, - 10 * k);
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if (k === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (k === 1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * Math.pow(1024, k - 1);
|
||||
}
|
||||
|
||||
return 0.5 * (- Math.pow(2, - 10 * (k - 1)) + 2);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Circular: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return 1 - Math.sqrt(1 - k * k);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
return Math.sqrt(1 - (--k * k));
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return - 0.5 * (Math.sqrt(1 - k * k) - 1);
|
||||
}
|
||||
|
||||
return 0.5 * (Math.sqrt(1 - (k -= 2) * k) + 1);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Elastic: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
if (k === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (k === 1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return -Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
if (k === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (k === 1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return Math.pow(2, -10 * k) * Math.sin((k - 0.1) * 5 * Math.PI) + 1;
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if (k === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (k === 1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
k *= 2;
|
||||
|
||||
if (k < 1) {
|
||||
return -0.5 * Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
|
||||
}
|
||||
|
||||
return 0.5 * Math.pow(2, -10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI) + 1;
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Back: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
var s = 1.70158;
|
||||
|
||||
return k * k * ((s + 1) * k - s);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
var s = 1.70158;
|
||||
|
||||
return --k * k * ((s + 1) * k + s) + 1;
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
var s = 1.70158 * 1.525;
|
||||
|
||||
if ((k *= 2) < 1) {
|
||||
return 0.5 * (k * k * ((s + 1) * k - s));
|
||||
}
|
||||
|
||||
return 0.5 * ((k -= 2) * k * ((s + 1) * k + s) + 2);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Bounce: {
|
||||
|
||||
In: function (k) {
|
||||
|
||||
return 1 - TWEEN.Easing.Bounce.Out(1 - k);
|
||||
|
||||
},
|
||||
|
||||
Out: function (k) {
|
||||
|
||||
if (k < (1 / 2.75)) {
|
||||
return 7.5625 * k * k;
|
||||
} else if (k < (2 / 2.75)) {
|
||||
return 7.5625 * (k -= (1.5 / 2.75)) * k + 0.75;
|
||||
} else if (k < (2.5 / 2.75)) {
|
||||
return 7.5625 * (k -= (2.25 / 2.75)) * k + 0.9375;
|
||||
} else {
|
||||
return 7.5625 * (k -= (2.625 / 2.75)) * k + 0.984375;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
InOut: function (k) {
|
||||
|
||||
if (k < 0.5) {
|
||||
return TWEEN.Easing.Bounce.In(k * 2) * 0.5;
|
||||
}
|
||||
|
||||
return TWEEN.Easing.Bounce.Out(k * 2 - 1) * 0.5 + 0.5;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
TWEEN.Interpolation = {
|
||||
|
||||
Linear: function (v, k) {
|
||||
|
||||
var m = v.length - 1;
|
||||
var f = m * k;
|
||||
var i = Math.floor(f);
|
||||
var fn = TWEEN.Interpolation.Utils.Linear;
|
||||
|
||||
if (k < 0) {
|
||||
return fn(v[0], v[1], f);
|
||||
}
|
||||
|
||||
if (k > 1) {
|
||||
return fn(v[m], v[m - 1], m - f);
|
||||
}
|
||||
|
||||
return fn(v[i], v[i + 1 > m ? m : i + 1], f - i);
|
||||
|
||||
},
|
||||
|
||||
Bezier: function (v, k) {
|
||||
|
||||
var b = 0;
|
||||
var n = v.length - 1;
|
||||
var pw = Math.pow;
|
||||
var bn = TWEEN.Interpolation.Utils.Bernstein;
|
||||
|
||||
for (var i = 0; i <= n; i++) {
|
||||
b += pw(1 - k, n - i) * pw(k, i) * v[i] * bn(n, i);
|
||||
}
|
||||
|
||||
return b;
|
||||
|
||||
},
|
||||
|
||||
CatmullRom: function (v, k) {
|
||||
|
||||
var m = v.length - 1;
|
||||
var f = m * k;
|
||||
var i = Math.floor(f);
|
||||
var fn = TWEEN.Interpolation.Utils.CatmullRom;
|
||||
|
||||
if (v[0] === v[m]) {
|
||||
|
||||
if (k < 0) {
|
||||
i = Math.floor(f = m * (1 + k));
|
||||
}
|
||||
|
||||
return fn(v[(i - 1 + m) % m], v[i], v[(i + 1) % m], v[(i + 2) % m], f - i);
|
||||
|
||||
} else {
|
||||
|
||||
if (k < 0) {
|
||||
return v[0] - (fn(v[0], v[0], v[1], v[1], -f) - v[0]);
|
||||
}
|
||||
|
||||
if (k > 1) {
|
||||
return v[m] - (fn(v[m], v[m], v[m - 1], v[m - 1], f - m) - v[m]);
|
||||
}
|
||||
|
||||
return fn(v[i ? i - 1 : 0], v[i], v[m < i + 1 ? m : i + 1], v[m < i + 2 ? m : i + 2], f - i);
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Utils: {
|
||||
|
||||
Linear: function (p0, p1, t) {
|
||||
|
||||
return (p1 - p0) * t + p0;
|
||||
|
||||
},
|
||||
|
||||
Bernstein: function (n, i) {
|
||||
|
||||
var fc = TWEEN.Interpolation.Utils.Factorial;
|
||||
|
||||
return fc(n) / fc(i) / fc(n - i);
|
||||
|
||||
},
|
||||
|
||||
Factorial: (function () {
|
||||
|
||||
var a = [1];
|
||||
|
||||
return function (n) {
|
||||
|
||||
var s = 1;
|
||||
|
||||
if (a[n]) {
|
||||
return a[n];
|
||||
}
|
||||
|
||||
for (var i = n; i > 1; i--) {
|
||||
s *= i;
|
||||
}
|
||||
|
||||
a[n] = s;
|
||||
return s;
|
||||
|
||||
};
|
||||
|
||||
})(),
|
||||
|
||||
CatmullRom: function (p0, p1, p2, p3, t) {
|
||||
|
||||
var v0 = (p2 - p0) * 0.5;
|
||||
var v1 = (p3 - p1) * 0.5;
|
||||
var t2 = t * t;
|
||||
var t3 = t * t2;
|
||||
|
||||
return (2 * p1 - 2 * p2 + v0 + v1) * t3 + (- 3 * p1 + 3 * p2 - 2 * v0 - v1) * t2 + v0 * t + p1;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// UMD (Universal Module Definition)
|
||||
(function (root) {
|
||||
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
||||
// AMD
|
||||
define([], function () {
|
||||
return TWEEN;
|
||||
});
|
||||
|
||||
} else if (typeof module !== 'undefined' && typeof exports === 'object') {
|
||||
|
||||
// Node.js
|
||||
module.exports = TWEEN;
|
||||
|
||||
} else if (root !== undefined) {
|
||||
|
||||
// Global variable
|
||||
root.TWEEN = TWEEN;
|
||||
|
||||
}
|
||||
|
||||
})(this);
|
222
ovo/achievements.json
Normal file
@ -0,0 +1,222 @@
|
||||
[
|
||||
{
|
||||
"name": "OvO",
|
||||
"description": "What's this?",
|
||||
"hidden": false,
|
||||
"icon": "ovo.png",
|
||||
"callback": "Skins > Gold",
|
||||
"params": "5,achievements,0",
|
||||
"divider": ",",
|
||||
"type": "n,s,n"
|
||||
},
|
||||
{
|
||||
"name": "Hittin da head",
|
||||
"description": "Stop it please",
|
||||
"hidden": true,
|
||||
"icon": "ovo2.png",
|
||||
"callback": "Skins > Gold",
|
||||
"params": "10,achievements,1",
|
||||
"divider": ",",
|
||||
"type": "n,s,n"
|
||||
},
|
||||
{
|
||||
"name": "Hurtin da head",
|
||||
"description": ":(",
|
||||
"hidden": true,
|
||||
"icon": "ovo3.png",
|
||||
"callback": "Skins > Gold",
|
||||
"params": "20,achievements,2",
|
||||
"divider": ",",
|
||||
"type": "n,s,n"
|
||||
},
|
||||
{
|
||||
"name": "Tutorials",
|
||||
"description": "Finish the tutorial section",
|
||||
"hidden": false,
|
||||
"icon": "tutorials.png",
|
||||
"callback": "Skins > Gold",
|
||||
"params": "5,achievements,3",
|
||||
"divider": ",",
|
||||
"type": "n,s,n"
|
||||
},
|
||||
{
|
||||
"name": "Getting Serious",
|
||||
"description": "Finish the getting serious section",
|
||||
"hidden": false,
|
||||
"icon": "gettingserious.png",
|
||||
"callback": "Skins > Gold",
|
||||
"params": "5,achievements,3",
|
||||
"divider": ",",
|
||||
"type": "n,s,n"
|
||||
},
|
||||
{
|
||||
"name": "Higher Order",
|
||||
"description": "Finish the higher order section",
|
||||
"hidden": false,
|
||||
"icon": "higherorder.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "4",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Mechanics",
|
||||
"description": "Finish the mechanics section",
|
||||
"hidden": false,
|
||||
"icon": "mechanics.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "1",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "OvO Space Program",
|
||||
"description": "Finish the OvO Space Program section",
|
||||
"hidden": false,
|
||||
"icon": "ovospaceprogram.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "8",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "A mystical journey",
|
||||
"description": "Finish the Journey through the portal section",
|
||||
"hidden": false,
|
||||
"icon": "jttp.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "14",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Community Work",
|
||||
"description": "Finish the Community levels",
|
||||
"hidden": false,
|
||||
"icon": "community.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "15",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Purified",
|
||||
"description": "Finish every level",
|
||||
"hidden": false,
|
||||
"icon": "purified.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "11",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Coins!",
|
||||
"description": "Collect a coin",
|
||||
"hidden": false,
|
||||
"icon": "coin.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": ""
|
||||
},
|
||||
{
|
||||
"name": "Coin enthusiast",
|
||||
"description": "Collect 5 coins",
|
||||
"hidden": false,
|
||||
"icon": "coin5.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": ""
|
||||
},
|
||||
{
|
||||
"name": "Coin connoisseur",
|
||||
"description": "Collect 10 coins",
|
||||
"hidden": false,
|
||||
"icon": "coin10.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": ""
|
||||
},
|
||||
{
|
||||
"name": "Coin hunter",
|
||||
"description": "Collect 30 coins",
|
||||
"hidden": false,
|
||||
"icon": "coin30.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Coin god",
|
||||
"description": "Collect 40 coins",
|
||||
"hidden": false,
|
||||
"icon": "coin40.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "7",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Secret Coin",
|
||||
"description": "Collect the secret coin",
|
||||
"hidden": true,
|
||||
"icon": "coinsecret.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Runner",
|
||||
"description": "Finish OvO in less than 30mn",
|
||||
"hidden": false,
|
||||
"icon": "runner.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Speedrunner",
|
||||
"description": "Finish OvO in less than 20mn",
|
||||
"hidden": false,
|
||||
"icon": "speedrunner.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Velocity master",
|
||||
"description": "Finish OvO in less than 15mn",
|
||||
"hidden": false,
|
||||
"icon": "velocity.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Top charts",
|
||||
"description": "Finish OvO in less than 12mn",
|
||||
"hidden": false,
|
||||
"icon": "topcharts.png",
|
||||
"callback": "Skins > Unlock",
|
||||
"params": "13",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
},
|
||||
{
|
||||
"name": "Light speed",
|
||||
"description": "Finish OvO in less than 10mn",
|
||||
"hidden": false,
|
||||
"icon": "lightspeed.png",
|
||||
"callback": "",
|
||||
"params": "",
|
||||
"divider": ",",
|
||||
"type": "n"
|
||||
}
|
||||
]
|
BIN
ovo/ada.png
Normal file
After Width: | Height: | Size: 548 B |
16
ovo/adconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"networks": [
|
||||
"Poki",
|
||||
"CrazyGames",
|
||||
"GamePix",
|
||||
"GameDistribution",
|
||||
"GameMonetize",
|
||||
"CoolMathGames"
|
||||
],
|
||||
"name": "CoolMathGames",
|
||||
"gameId": "1377b99c10284c229423118a941af3b1",
|
||||
"removeSocials": true,
|
||||
"stopAudioInBackground": false,
|
||||
"removeMidrollRewarded": true,
|
||||
"noReligion": true
|
||||
}
|
BIN
ovo/alien.png
Normal file
After Width: | Height: | Size: 459 B |
3504
ovo/animate.css
vendored
Normal file
28
ovo/appmanifest.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "OvO",
|
||||
"short_name": "OvO",
|
||||
"start_url": "index.html",
|
||||
"display": "fullscreen",
|
||||
"orientation": "any",
|
||||
"icons": [{
|
||||
"src": "icon-16.png",
|
||||
"sizes": "16x16",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-32.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-256.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
}]
|
||||
}
|
BIN
ovo/astronaut.png
Normal file
After Width: | Height: | Size: 515 B |
BIN
ovo/batter.png
Normal file
After Width: | Height: | Size: 802 B |
49765
ovo/c2runtime.js
Normal file
BIN
ovo/cmg.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
ovo/coin.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
ovo/coin10.png
Normal file
After Width: | Height: | Size: 863 B |
BIN
ovo/coin30.png
Normal file
After Width: | Height: | Size: 875 B |
BIN
ovo/coin40.png
Normal file
After Width: | Height: | Size: 916 B |
BIN
ovo/coin5.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
ovo/coinsecret.png
Normal file
After Width: | Height: | Size: 865 B |
BIN
ovo/community.png
Normal file
After Width: | Height: | Size: 389 B |
1
ovo/data.js
Normal file
BIN
ovo/default.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
ovo/dknight.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
ovo/electrical.png
Normal file
After Width: | Height: | Size: 431 B |
BIN
ovo/erigato.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
ovo/fl1ckd.png
Normal file
After Width: | Height: | Size: 995 B |
9
ovo/fonts.css
Normal file
@ -0,0 +1,9 @@
|
||||
/* @font-face {
|
||||
font-family: Silver;
|
||||
src: url(./silver.ttf);
|
||||
} */
|
||||
|
||||
@font-face {
|
||||
font-family: Retron2000;
|
||||
src: url(./retron2000.ttf);
|
||||
}
|
BIN
ovo/gettingserious.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
ovo/higherorder.png
Normal file
After Width: | Height: | Size: 274 B |
57
ovo/hmmg_layoutTransition.css
Normal file
@ -0,0 +1,57 @@
|
||||
#c2canvasdiv.prepared
|
||||
{
|
||||
position:absolute !important;
|
||||
margin:0px !important;
|
||||
z-index:49;
|
||||
}
|
||||
|
||||
#fakeBody
|
||||
{
|
||||
position:absolute;
|
||||
z-index:999999999;
|
||||
overflow:hidden !important;
|
||||
}
|
||||
|
||||
|
||||
#fakeBody #fakeCanvas
|
||||
{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
z-index:50;
|
||||
overflow:hidden !important;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
|
||||
#fakeCanvas div
|
||||
{
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
top:0px;
|
||||
left:0px;
|
||||
}
|
||||
#fakeCanvas div.darker
|
||||
{
|
||||
-webkit-transition: background-color 100ms linear ;
|
||||
-moz-transition: background-color 100ms linear ;
|
||||
-o-transition: background-color 100ms linear ;
|
||||
-ms-transition: background-color 100ms linear ;
|
||||
transition: background-color 100ms linear ;
|
||||
background-color:rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
#c2canvasdiv.animated
|
||||
{
|
||||
z-index:51;
|
||||
}
|
||||
#fakeCanvas.animated
|
||||
{
|
||||
z-index:49;
|
||||
}
|
||||
|
||||
.hidden
|
||||
{
|
||||
display:none;
|
||||
}
|
1987
ovo/howler.js
Normal file
8
ovo/html2canvas.min.js
vendored
Normal file
BIN
ovo/icon-256.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
ovo/images/ablue-sheet0.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
ovo/images/adblocksign-sheet0.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
ovo/images/agreen-sheet0.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
ovo/images/ared-sheet0.png
Normal file
After Width: | Height: | Size: 164 B |
BIN
ovo/images/background-sheet0.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ovo/images/bannercontainer-sheet0.png
Normal file
After Width: | Height: | Size: 105 B |
BIN
ovo/images/bfakenine-sheet0.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
ovo/images/body-sheet0.png
Normal file
After Width: | Height: | Size: 98 B |
BIN
ovo/images/border.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
ovo/images/buttontrigger-sheet0.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
ovo/images/buttontrigger-sheet1.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
ovo/images/camera-sheet0.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
ovo/images/checkbox-sheet0.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
ovo/images/cmgskin-sheet0.png
Normal file
After Width: | Height: | Size: 533 B |
BIN
ovo/images/coin-sheet0.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
ovo/images/collider-sheet0.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
ovo/images/collider-sheet1.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
ovo/images/coolmathgames800x-sheet0.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
ovo/images/credits-sheet0.png
Normal file
After Width: | Height: | Size: 1012 B |
BIN
ovo/images/decor-sheet0.png
Normal file
After Width: | Height: | Size: 181 B |
BIN
ovo/images/decor-sheet1.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
ovo/images/decor2-sheet0.png
Normal file
After Width: | Height: | Size: 393 B |
BIN
ovo/images/dedraloader-sheet0.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
ovo/images/dedraloader-sheet1.png
Normal file
After Width: | Height: | Size: 350 KiB |
BIN
ovo/images/dialogoverlay-sheet0.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
ovo/images/endcarddialog-sheet0.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
ovo/images/endflag-sheet0.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
ovo/images/fakenine-sheet0.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
ovo/images/fakeparseimage-sheet0.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
ovo/images/frank_1-sheet0.png
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
ovo/images/groundpoundsolid.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
ovo/images/head-sheet0.png
Normal file
After Width: | Height: | Size: 209 B |
BIN
ovo/images/inputsdialog.png
Normal file
After Width: | Height: | Size: 104 B |
BIN
ovo/images/jumpboost-sheet0.png
Normal file
After Width: | Height: | Size: 147 B |
BIN
ovo/images/jumpthrough.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
ovo/images/languagebutton-sheet0.png
Normal file
After Width: | Height: | Size: 126 B |
BIN
ovo/images/languagebutton2-sheet0.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
ovo/images/languageflag-sheet0.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
ovo/images/languageflag-sheet1.png
Normal file
After Width: | Height: | Size: 132 B |
BIN
ovo/images/layoutnameholder-sheet0.png
Normal file
After Width: | Height: | Size: 92 B |
BIN
ovo/images/layoutnumber.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
ovo/images/layoutsubtitle.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
ovo/images/leftarm-sheet0.png
Normal file
After Width: | Height: | Size: 98 B |
BIN
ovo/images/levelbutton-sheet0.png
Normal file
After Width: | Height: | Size: 207 B |
BIN
ovo/images/listitem-sheet0.png
Normal file
After Width: | Height: | Size: 115 B |
BIN
ovo/images/listparent-sheet0.png
Normal file
After Width: | Height: | Size: 93 B |