diff --git a/web/js/Menu.js b/web/js/Menu.js index 1c8a452..c14cf7e 100644 --- a/web/js/Menu.js +++ b/web/js/Menu.js @@ -14,17 +14,11 @@ function homescreen() { button(255, 255, 255, width / 2, height / 2, "Start Game") button(255, 255, 255, width / 2, height / 2 + height / 12, "Scores") - push() - stroke(4, 217, 255) - strokeWeight(5) - fill(0, 255, 0, 0) - rect(width / 5 * 4, height / 2, width / 4, height / 1.5) - pop() - //highscores rectangle push() textSize(50) fill(255, 255, 255) text("Highscores", width / 5, height / 4) + text("Controls", width / 5 * 4, height / 4) pop() push() @@ -36,18 +30,15 @@ function homescreen() { } pop() + //Scores rectangle push() stroke(4, 217, 255) strokeWeight(5) fill(0, 255, 0, 0) rect(width / 5, height / 2, width / 4, height / 1.5) + rect(width / 5 * 4, height / 2, width / 4, height / 1.5) pop() - push() - textSize(50) - fill(255, 255, 255) - text("Controls", width / 5 * 4, height / 4) - pop() } function button(r, g, b, buttonX, buttonY, buttonText) {