made center text white

This commit is contained in:
lengstrom 2014-05-26 13:30:39 -04:00
parent 3b4e69b46e
commit c97a77bbdf
2 changed files with 2 additions and 3 deletions

View file

@ -171,6 +171,5 @@ function findCenterOfBlocks(arr) {
return {
x:trueCanvas.width/2 + Math.cos(avgAngle * (Math.PI / 180)) * avgDFH,
y:trueCanvas.height/2 + Math.sin(avgAngle * (Math.PI / 180)) * avgDFH
}
};
}

View file

@ -38,7 +38,7 @@ function renderText(x, y, fontSize, color, text) {
}
function drawScoreboard() {
renderText(trueCanvas.width / 2 + gdx, trueCanvas.height / 2 + gdy, 50, grey, score);
renderText(trueCanvas.width / 2 + gdx, trueCanvas.height / 2 + gdy, 50, "#fff", score);
}
function clearGameBoard() {