From 1e2a522971652d50c3078f5f1fa99d0a0abba4b4 Mon Sep 17 00:00:00 2001 From: Mees Roelofsz Date: Wed, 13 Dec 2023 13:16:49 +0100 Subject: [PATCH] got rid of background due to misfit --- web/game.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/game.js b/web/game.js index 03960c4..7062c67 100644 --- a/web/game.js +++ b/web/game.js @@ -69,7 +69,7 @@ function setup() { // disable the outline of shapes Movementloop() noStroke(); - bg = loadImage('web/background.png'); + // bg = loadImage('background.webp'); } function score() { @@ -181,8 +181,7 @@ function draw() { gameOver(); phase(); // draw background - //myBullet.draw(); - background(bg); + background(0, 0, 0, 100); if (homescreenOn == true) { homescreen();