added to combotime

This commit is contained in:
lengstrom 2015-09-25 20:33:36 -04:00
parent 3eaf85c1fe
commit 6ae27da345

View file

@ -34,17 +34,13 @@ function initialize(a) {
window.scoreOpacity = 0; window.scoreOpacity = 0;
window.textOpacity = 0; window.textOpacity = 0;
window.prevGameState = undefined; window.prevGameState = undefined;
//render.js
window.op = 0; window.op = 0;
window.saveState = localStorage.getItem("saveState") || "{}"; window.saveState = localStorage.getItem("saveState") || "{}";
if (saveState !== "{}") { if (saveState !== "{}") {
op = 1; op = 1;
} }
//main.js
window.textShown = false; window.textShown = false;
window.requestAnimFrame = (function() { window.requestAnimFrame = (function() {
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) {
window.setTimeout(callback, 1000 / framerate); window.setTimeout(callback, 1000 / framerate);
@ -71,7 +67,7 @@ function initialize(a) {
rows: 7, rows: 7,
speedModifier: 0.73, speedModifier: 0.73,
creationSpeedModifier: 0.73, creationSpeedModifier: 0.73,
comboTime: 240 comboTime: 310
}; };
} else { } else {
settings = { settings = {
@ -89,7 +85,7 @@ function initialize(a) {
rows: 8, rows: 8,
speedModifier: 0.65, speedModifier: 0.65,
creationSpeedModifier: 0.65, creationSpeedModifier: 0.65,
comboTime: 240 comboTime: 310
}; };
} }