Merge branch 'gh-pages' of https://github.com/teamsnowman/wastedtime into gh-pages
This commit is contained in:
commit
4c353b149f
2 changed files with 12 additions and 12 deletions
|
@ -31,7 +31,7 @@ function Block(lane, color, distFromHex, settled) {
|
||||||
}
|
}
|
||||||
lane = lane % MainClock.sides;
|
lane = lane % MainClock.sides;
|
||||||
|
|
||||||
this.opacity = this.opacity - 0.03;
|
this.opacity = this.opacity - 0.1;
|
||||||
if (this.opacity <= 0) {
|
if (this.opacity <= 0) {
|
||||||
this.opacity = 0;
|
this.opacity = 0;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
|
22
js/input.js
22
js/input.js
|
@ -58,14 +58,14 @@ var tapRight = Hammer(document.getElementById("rightTap")).on("tap", function(ev
|
||||||
MainClock.rotate(-1);
|
MainClock.rotate(-1);
|
||||||
});
|
});
|
||||||
|
|
||||||
keypress.register_combo({
|
// keypress.register_combo({
|
||||||
keys: "space",
|
// keys: "space",
|
||||||
on_keyup: function() {
|
// on_keyup: function() {
|
||||||
iter = 1;
|
// iter = 1; // <- 1337 hax that reset speed anywhere in the game
|
||||||
scoreAdditionCoeff = 1;
|
// scoreAdditionCoeff = 1;
|
||||||
},
|
// },
|
||||||
on_keydown: function() {
|
// on_keydown: function() {
|
||||||
iter = 2;
|
// iter = 2;
|
||||||
scoreAdditionCoeff = 2;
|
// scoreAdditionCoeff = 2;
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
Loading…
Reference in a new issue