acupoftee_Canvas-Invaders/StartMenu.pde
boolean startGame = false;
void startmenu() {
  pushStyle();
  fill(0);
  noStroke();
  rectMode(CENTER);
  rect(width>>1, height>>1, 350, 150, 10, 10, 10, 10);
  textAlign(CENTER);
  fill(255);
  textSize(20);
  text(" Space Invaders ", width>>1, height/2-40);
  textSize(15);
  fill(#FF002F);
  rect(width>>1, height>>1, 100, 30, 10, 10, 10, 10);
  fill(255);
  text("START", width>>1, height/2+4);
  fill(255);
  textSize(10);
  text("Created by @acupoftee_ ", width>>1, height/2+40);
  popStyle();
  if (mousePressed && dist(mouseX, mouseY, width/2, height/2)<50)startGame = true;
}