sam
2023-12-13 13:02:22 +01:00
2 changed files with 2 additions and 1 deletions

BIN
web/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

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