fixed text

This commit is contained in:
Mees Roelofsz
2023-11-26 16:48:40 +01:00
parent 328f494da0
commit b65d21dca1

View File

@@ -132,7 +132,6 @@ function shoot(directionX, directionY) {
// the function draw() is called every frame
function draw() {
textSize(10);
textAlign(LEFT);
keyPressed();
life();
// draw background
@@ -148,6 +147,7 @@ function draw() {
circle(500, 100, 50);
score();
textAlign(LEFT);
text(time, 10, 20);
if (shot == false || hit == true) {