no comboTimer
This commit is contained in:
parent
279313a09a
commit
fa9fb102b3
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
function drawTimer() {
|
||||
if(gameState==1){
|
||||
var leftVertexes = [];
|
||||
var rightVertexes = [];
|
||||
if(MainHex.ct - MainHex.lastCombo < settings.comboTime){
|
||||
|
@ -17,6 +18,7 @@ function drawTimer() {
|
|||
}
|
||||
if(rightVertexes.length !== 0) drawSide(rightVertexes);
|
||||
if(leftVertexes.length !== 0) drawSide(leftVertexes);
|
||||
}
|
||||
}
|
||||
|
||||
function calcSide(startVertex,endVertex,fraction,offset){
|
||||
|
@ -66,4 +68,4 @@ function drawSide(vertexes){
|
|||
ctx.fill();
|
||||
ctx.stroke();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue