Update app.js

pull/790/head
Ronin0000 2021-08-23 10:02:44 -07:00 committed by GitHub
parent 2bfce0b08d
commit 47893eda83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -156,7 +156,8 @@ function draw(){
g.setColor(0,0,0); g.setColor(0,0,0);
g.drawString("Score: "+score,180,5); g.drawString("Score: "+score,180,5);
g.drawString("High Score: "+currentHighScore,180,15); g.drawString("HighScore:",178,15);
g.drawString(currentHighScore,205,25);
if(BackgroundYPosition > 170){ if(BackgroundYPosition > 170){
BackgroundYPosition = BackgroundStartingPosition; BackgroundYPosition = BackgroundStartingPosition;
@ -230,3 +231,10 @@ setWatch(() => {
score = 0; score = 0;
} }
}, BTN2, {repeat:true}); }, BTN2, {repeat:true});