diff --git a/web/js/Menu.js b/web/js/Menu.js index a229ee3..7fed873 100644 --- a/web/js/Menu.js +++ b/web/js/Menu.js @@ -11,7 +11,11 @@ function keyPressed() { } function homescreen() { - textAlign(CENTER); + textAlign(CENTER, CENTER); + textSize(70); + fill(100, 255, 100); + text("Slime\nSymphony", width / 2, height / 4); + button(255, 255, 255, width / 2, height / 2, "Start Game") button(255, 255, 255, width / 2, height / 2 + height / 12, "Scores") @@ -50,8 +54,7 @@ function button(r, g, b, buttonX, buttonY, buttonText) { textSize(25) fill(r, g, b) textAlign(CENTER); - text(buttonText, buttonX, buttonY + buttonHeight / 4) - + text(buttonText, buttonX, buttonY) pop() }