made center text white
This commit is contained in:
parent
3b4e69b46e
commit
c97a77bbdf
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue