got rid of background due to misfit

This commit is contained in:
Mees Roelofsz
2023-12-13 13:16:49 +01:00
parent f0d32f02ea
commit 1e2a522971

View File

@@ -69,7 +69,7 @@ function setup() {
// disable the outline of shapes // disable the outline of shapes
Movementloop() Movementloop()
noStroke(); noStroke();
bg = loadImage('web/background.png'); // bg = loadImage('background.webp');
} }
function score() { function score() {
@@ -181,8 +181,7 @@ function draw() {
gameOver(); gameOver();
phase(); phase();
// draw background // draw background
//myBullet.draw(); background(0, 0, 0, 100);
background(bg);
if (homescreenOn == true) { if (homescreenOn == true) {
homescreen(); homescreen();