score display fixed

This commit is contained in:
s-prechtl 2023-01-21 09:56:37 +01:00
parent 3e8b9e141d
commit edead5a412
2 changed files with 4 additions and 4 deletions

View file

@ -77,7 +77,7 @@ function setupObstacleConsts() {
}
function setupFont() {
textSize(150);
textSize(75);
textAlign(CENTER);
textFont(font);
}
@ -171,7 +171,7 @@ function exportToLocalStorage() {
function displayScore() {
push();
fill(195, 33, 34);
text(score, 0, height / 10, width, height);
text(score, 0, height / 8, width, height);
pop();
}