Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Done.

Thanks! FYI you can call setup() to restart the game. E.g.,

void lose() {

  if (gameState == 6){
    background(lose);
    if (keyPressed && key == ' ') setup();
  }
}

Noted, thanks!