fixed text
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user